Re:Math.min(Math.max(num, min), max)
by jonahx on Thursday August 20, 2020 @11:13PM
(#24231591)
True, but I think there are more situations where minimizing the chance of programmer error, now or in the future, is more important than a micro-optimization that will never matter. All depends on context.
[ Parent
| on HN ]
There are no comments on this comment yet.