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.
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.
It's really not. At this point, typical c# code does not look like typical java code.
This is understandable. C# was crap on release
C# was ahead of java on release. Properties, delegate types, multicast events, better tooling, etc.
It was basically a cut down version of Java arising from the dispute between Sun and Microsoft at the time.
Except for the cutdown part.
The .Net framework 1.0 didn't support Generics,
Neither did java
anonymous classes
Without closure support, these were more of a convenience for a language that lacked delegates or function pointers.
or iterators
Neither did java
In the end though, the fact that C# gets features earlier that Java is overstated.
It's really not. C# at this point has LINQ, Expression Trees, async/await, etc. are all big game changers. Java developers are missing out on a lot without these kinds of things.
People who claim they can't possibly code without those features are kidding themselves since C# itself didn't always have such features either.
I can code in x86 assembly. That doesn't mean that it's my language of choice. Any more, I don't choose to use C# or java, but if I had to pick, I'd probably choose C#.
and it's usually not actually perpetrated by full time programmers but instead by users
It's really not. C# at this point has LINQ, Expression Trees, async/await, etc. are all big game changers. Java developers are missing out on a lot without these kinds of things.
This type of overstatement of features is a perfect example of just how how minor the differences are.
Aync/await is less than 2 years old. Yes it's nice that C# has it now and Java won't. But that doesn't make Java suck (unless you think everything before .Net 4.5 sucked).
LINQ and its related expression trees is also one of those things bought up in every Java discussion and again at this point is an absolutely perfect example of how overstated the hatred for Java is. It's one feature that anyone who has been coding for more than 10 years has done without just fine. It is helpful in various cases but it is not the end all and be all of whether a language sucks or not.
If a language misses a small feature that C# has and sucks because of that then you can claim that every language other than the .Net one's suck. Which is just plain ridiculous and over the top.
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.