Re:Java for Everything
by twic on Sunday November 30, 2014 @06:23PM
(#8678645)
I'll meet you halfway:
Or may i suggest a version with a guard clause and a simple ternary:
There's definitely no need for the 'new Comparator' boilerplate any more. That's not the kind of verbosity that adds clarity; it's just ceremony.
[ Parent
| on HN ]
There are no comments on this comment yet.