HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by adiM | Hacker News Reader
Parent
Full thread
adiM
·
Why not:
return o2.compareTo(o1);
View on HN
x0x0
·
because the o2 vs o1 is easy to miss, while the -1 makes it obvious i'm intentionally reversing. my .02
fyolnish
·
Not if you give them more descriptive names
Reply on news.ycombinator.com