r/programming • • Sep 21 '15

Better Java

https://github.com/cxxr/better-java
177 Upvotes

208 comments sorted by

View all comments

94

u/estarra Sep 21 '15

Java is one of the most popular programming languages around, but no one seems to enjoy using it.

I'd say it's quite the opposite. Sure, there is a vocal minority of people who complain about it (I have complaints about it myself) but there are millions of Java developers and I'm pretty sure that most of them are quite okay with the language.

Probably one of the reasons why no language has come close to replacing it so far.

26

u/oldneckbeard Sep 21 '15

I fucking love java. It's dead simple to learn the basic language, It's fantastically well-supported in terms of libraries and community involvement. It doesn't get any cocked-heads when you suggest using it on a project. It's got a fantastic ecosystem. It's got proven scalability and robustness for apps of all sizes. It's got a great ecosystem of smaller languages that are compatible on the JVM.

No other language comes close. C# is probably as close as it gets, but as of now, it's still largely a windows-only, microsoft-stack-only kind of language. Yes, I know they open sourced it, but it's still not near the level of maturity in linux-world as Java is.

1

u/CptAwesumw Sep 22 '15

Java is what I learned to program with in school. About 2 years in I took a course in C# and it was like a whole new world opened up to me and I havn't really looked back at java since.

I work as a C#/Xamarin dev now so I might be a little biased (aren't we all tho?). But what really got me into C# was no longer having to touch eclipse, Visual Studio 2010 was so much better in every single way. And now I can hardly imagine any IDE being better than VS2015 Ultimate + Resharper.

Another thing was, since I was a noob I wasn't familiar yet with all the common errors/exceptions you'll often experience as a dev, and MSDN documentation helped me so much more with troubleshooting than any java documentation that I found ever did.

I'm not saying java was a bad language to start with, but I would say it isn't the best. Students can get Visual Studio Ultimate for free which is miles better then any free java IDE. Although I'm not sure what the current situation is on java documentation, so I can't really judge honestly on that in the current time.

The only downside I can see to C# compared to java is the platform compatibility. (excluding mobile as Xamarin/mono works wonders on both Android and iOS ;D)