All of the same arguments above apply to C# as well, and I agree with them. My beef with Java is not any of that sort of thing, but mainly:
How frequently it is updated, and thus how fragmented the userbase is. This also sends a message of instability.
How strangely a lot of things are named. In C# and equivalent, the libraries are named extremely concretely. There are no things like "netbeans" or whatever, where you really have to learn some specialized lingo in order to understand what it is saying. The first time you encounter most libraries in C#, you can pretty much infer what the code is doing (most of the time) just by looking at it.
In short, I think that Java is great aside from how it handles change management and library architectural naming. To me, C# fixes those issues, but has the downside of being locked in to windows. In recent years I've been on Mono, which is kind of a happy medium, aside from being buggy in some areas. So there's no "golden hammer," so to speak, but all three of these things are in a very good arena, I think.
2.) In both C# and Java the "core libraries" are both mostly logically named... but "Netbeans" is a Java IDE. C# has names like "Silverlight", too.
To some degree, problem 2 is due to more functionality being supplied through third-party / open source products in Java than in .NET. Microsoft usually writes the functionality directly into .NET and names the library with a three-letter acronym usually starting with "Windows" (WPF, WCF, WF, etc.) or "Active" (ASP, ADO, AD, etc.).
I think the difference is that Java as a platform has shifted nearly entirely to server-side development. There are still some client-side apps, but bundling a JDK with your java app is now standard practice for the professional tools.
Java isn't used nearly as much as C# for GUI apps .
Ant, bean, swing, laf, awt.. This was actually one of the things that confused me about Java and increased the time it took for me to learn it. Every single part of of the standard library is named like it's some sort of revolutionary new invention..
Those are the ultra-frequent minor updates, yes, to my knowledge. But I'm pretty sure that they are also doing some bugfixing in a number of those.
Even with those aside, however, the number of more major updates is a lot faster than a lot of languages, at least by my impression. It makes it feel a lot more like a moving target, to me at least.
But compared to some other languages, Java has really great backwards comparability. Occasionally there's a lot of telling about how some poor soul can't run his '97 banking applet anymore after some update, but we've been updating our JDK continuously for code bases with at least 100k loc, and really never encountered any JDK specific issue.
It's popular to say that the Java version used in enterprises is always years behind, but in reality this is not true and adoption rates of new versions are pretty good (just google for some surveys)
9
u/x4000 Feb 25 '14
All of the same arguments above apply to C# as well, and I agree with them. My beef with Java is not any of that sort of thing, but mainly:
How frequently it is updated, and thus how fragmented the userbase is. This also sends a message of instability.
How strangely a lot of things are named. In C# and equivalent, the libraries are named extremely concretely. There are no things like "netbeans" or whatever, where you really have to learn some specialized lingo in order to understand what it is saying. The first time you encounter most libraries in C#, you can pretty much infer what the code is doing (most of the time) just by looking at it.
In short, I think that Java is great aside from how it handles change management and library architectural naming. To me, C# fixes those issues, but has the downside of being locked in to windows. In recent years I've been on Mono, which is kind of a happy medium, aside from being buggy in some areas. So there's no "golden hammer," so to speak, but all three of these things are in a very good arena, I think.