Y
Hacker News
new
|
ask
|
show
|
jobs
by
Symbiote
2125 days ago
I would prefer it if the methods in java.lang.Math had been called "larger" and "smaller", instead of "min" and "max".
I sometimes mix up "min" as "take the minimum" rather than "take the larger given this minimum".
1 comments
t0astbread
2125 days ago
But "min" does take the minimum: `Math.min(1,3) == 1`
link