Question about comparators: what is the advantage...
# getting-started
y
Question about comparators: what is the advantage, when implementing a comparator, of using the stdlib compareTo functions for basic types, instead of just a-b? see the snippet below