News for hackers. Stuff that matters.
Re:Math.min(Math.max(num, min), max) by Symbiote on Thursday August 20, 2020 @12:30PM (#24224971)
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".

Re:Math.min(Math.max(num, min), max) by t0astbread on Thursday August 20, 2020 @12:39PM (#24225113)
But "min" does take the minimum: `Math.min(1,3) == 1`