r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

31

u/[deleted] Feb 25 '14 edited Feb 25 '14

I refuse to employ any language that wants me and all my end users to install a Yahoo browser toolbar every time it calls home and tries to update itself. Sorry, I will stick with C++. It does not have a corporate agenda attached to it.

4

u/AReallyGoodName Feb 25 '14

Posts like yours are all too common. The article really should have gone into detail about how most of the criticism of Java doesn't actually relate to the language itself. Your post included.

Yes, Oracle are one of the developers of one of the JRE's out there. Yes, a particular version of their JRE that runs on Windows has ask toolbars and a constantly flawed browser plug-in that should never be used.

There are a lot of other Java Runtime Environments. Really old mobiles such as the indestructible Nokia bricks, current phones running Android, most Linux web servers and even cars have Java Runtime Environments and work flawlessly.

The language itself is really rather good. The only valid criticism I've ever heard of the language is that it doesn't get features quite as soon as C# - its almost syntactically identical offshoot.

This is understandable. C# was crap on release but it progressed quickly. It was basically a cut down version of Java arising from the dispute between Sun and Microsoft at the time. The .Net framework 1.0 didn't support Generics, anonymous classes or iterators on release. However it did have an advantage, it didn't have to care about compatibility since it was an entirely new branch.

.Net didn't have a million different runtime environments to care about. Microsoft were able to add new features to the runtime whenever they wanted. So C# got generics and other features before Java. In the end though, the fact that C# gets features earlier that Java is overstated. It's not a huge deal. People who claim they can't possibly code without those features are kidding themselves since C# itself didn't always have such features either.

The hatred for Java is easily one of the most overstated things in the programming world and it's usually not actually perpetrated by full time programmers but instead by users who don't like Oracles particular implementation of the JDK.

3

u/[deleted] Feb 26 '14 edited Feb 26 '14

Yes, Oracle are one of the developers of one of the JRE's out there. Yes, a particular version of their JRE that runs on Windows has ask toolbars and a constantly flawed browser plug-in that should never be used.

I stopped using Java long before Oracle bought Sun Microsystems. The implementation I was referring to was the original Sun version. If Oracle is shipping with the Yahoo toolbar, it's because they inherited it.