Y
Hacker News
new
|
ask
|
show
|
jobs
by
rubber_duck
2123 days ago
I'd say the only way this would be better than min/max solution is that you can't accidentally flip it when writing the code - but IMO both suck at expressing intent, clamp reads unambiguously.