News for hackers. Stuff that matters.
Re:Java for Everything by adiM on Sunday November 30, 2014 @06:49PM (#8678733)
Why not:

    return o2.compareTo(o1);
Re:Java for Everything by x0x0 on Sunday November 30, 2014 @07:58PM (#8678969)
because the o2 vs o1 is easy to miss, while the -1 makes it obvious i'm intentionally reversing. my .02
Re:Java for Everything by fyolnish on Sunday November 30, 2014 @08:49PM (#8679105)
Not if you give them more descriptive names