r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

21

u/nickguletskii200 Feb 22 '15 edited Feb 22 '15

What a shitty article.

Please find me a language that has:

  1. Comparable tooling

  2. A set of 3rd party libraries as rich as Java's

  3. Non-retarded standard library

This article doesn't even use modern Java... This:

HashMap<String, Set> depMap = new HashMap();

Should be written like this:

Map<String, Set> depMap = new HashMap<>();

I can't fucking understand what the author is suggesting. C and C++ absolutely can't be used where Java is used. OCaml has a rather small community. Haskell is just too hard to work with for most projects: it becomes a restriction, not a tool.

Edit: fixed code example, thanks /u/TomRK1089!

0

u/Dworgi Feb 22 '15

C#.

Mainly because you didn't ask for portability. Which is coming soon anyway.

-1

u/nickguletskii200 Feb 22 '15

C#

C# is a great language, but not a great platform. It's tooling is significantly worse than Java's, the standard library is utter shit and there aren't that many 3rd party libraries (and a lot of them are just half-complete ports of Java libraries).

The only thing I upgrade by switching from Java from C# is the language itself. Everything else is a downgrade. And yes, I've used it.

-2

u/[deleted] Feb 22 '15

[removed] — view removed comment

2

u/nickguletskii200 Feb 22 '15

Examples? I can show this tiny example of exactly the opposite.

Treating paths like strings. The collections library is lacking.

java people often bring that argument, but they fail to provide REAL concrete examples of such supposedly miraculous "libraries" that don't exist in .Net.

A proper additional collections library like Guava or Apache Commons Collections, especially since C# is a language that most definitely needs one.

Something like Spring Security and anything AOP in general. Spring Security method security has no alternative on .NET AFAIK and everything else AOP on .NET is not as mature and feature rich as on Java.

Oh, and here's a killer... Alternative for JRebel and Spring Loaded.