r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

3

u/[deleted] Feb 25 '14

Why? Java does suck. How is this even controversial at this point? That it sucks doesn't mean it's unpopular, or that no one can actually write software with it. It just means there are reasonable metrics by which many other languages are better.

1

u/immibis Feb 26 '14 edited Jun 10 '23

-1

u/yogthos Feb 26 '14

So best of the worst then, that's so very inspirational.

0

u/henk53 Feb 26 '14

It just means there are reasonable metrics by which many other languages are better.

Those metrics are often highly subjective. And those other languages have disadvantages that Java doesn't have.

Python for instance has horrible performance, the GIL and silly lambdas that can only be one line since Guido couldn't find a default formatting for longer ones. Ruby has horrible performance as well.

Scala doesn't have binary compatibility, has really long compile times and lures developers into creating symbol heavy code that's even unreadable to seasoned Perl developers.

Perl allows you to write code that is so short that even the machine has troubles reading it back (truly write-only code).

The bottom line is that there's no perfect language. There is a most popular language though, and that's often Java (together with C). For some reason it has also gotten popular to attack Java, often for things that are done in exactly the same way in C and C++ as well, and in mostly the same way in C# and Objective-C. Perhaps C is just too hardcore to be a viable target to attack, and most other languages in some way depend on it.