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

17

u/geodel Feb 22 '15

So much to agree with this while I work on a code piece with probably 20 lines of logic in 500 lines of java code full of 40-50 char long variable names.

0

u/[deleted] Feb 22 '15

[deleted]

0

u/[deleted] Feb 22 '15

[deleted]

1

u/TomRK1089 Feb 22 '15

Perhaps you should brush up on your fundamentals then. If you want less than or equal to, you write

x.compareTo(z) <= 0

compareTo is defined as any negative integer being less than, not just -1. So, it's your own fault your code is verbose, and wrong, too.

→ More replies (7)