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/[deleted] Feb 22 '15

Go's standard library is way less retarded then Java's. It's got a pretty extensive set of 3rd party libraries (not as good as Java, but considering how young it is it's really impressive).

I don't know about the tooling, but it is definitely an easy language to parse (unlike C++ for example), so I imagine you could do pretty much anything you wanted. E.g. it has EASY built in support for unit tests and documentation. For Java I imagine you need to download some third party tool and write some XML nonsense.

C and C++ absolutely can't be used where Java is used.

What? Why not?

0

u/nickguletskii200 Feb 22 '15

Go's standard library is way less retarded then Java's. It's got a pretty extensive set of 3rd party libraries (not as good as Java, but considering how young it is it's really impressive).

Go, as a language, is retarded. Generics worse than Java's (bwahaha), shitty error handling system, etc...

I don't know about the tooling, but it is definitely an easy language to parse (unlike C++ for example), so I imagine you could do pretty much anything you wanted. E.g. it has EASY built in support for unit tests and documentation. For Java I imagine you need to download some third party tool and write some XML nonsense.

Is JUnit too hard? And Javadoc? Also, you don't need any XML anymore. Maven can be replaced by Gradle and frameworks like Spring have pure Java configuration nowadays.

What? Why not?

When safety, compilation speed and other factors regarding development speed are important, it's best not to use C and C++ because they are simply a time waste and an overall security risk.