Re:The Evil Within the Comparison Functions
by geocar on Monday February 19, 2018 @06:36AM
(#16412266)
The thing to focus on in the mental load. What are you more likely to get right?
or something like this?
[ Parent
| on HN ]
Re:The Evil Within the Comparison Functions
by thaumasiotes on Monday February 19, 2018 @03:09PM
(#16415321)
return max(low, ( min(val, high) ));
Still hard to avoid comparisons.