r/programming • u/knife_sharpener • 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
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
compareTois defined as any negative integer being less than, not just -1. So, it's your own fault your code is verbose, and wrong, too.