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.

1

u/fhelwanger Feb 22 '15

Why do you think the standard library is utter shit? At least in C# we don't have to use some 3rd party libs to work with dates. We also have LINQ, which is great. I can't get your point

1

u/nickguletskii200 Feb 22 '15

At least in C# we don't have to use some 3rd party libs to work with dates

Neither do we. Java 8 has an amazing date time API.

We also have LINQ, which is great.

And we have streams. And?

1

u/[deleted] Feb 22 '15

But streams suck compared to enumerables, the nice thing about IEnumerable is that it's for collections and streams. So you don't have to collect anything unless you're casting to a collection, you can make extension methods that work on all collections and streams, and the syntax is way nicer.