Re:Programming Idioms
by Miiko on Sunday August 15, 2021 @07:22PM
(#28193495)
Correct, but we're talking about "idiomatic" not "most efficient" solution. Input validation is usually not time-critical, and for these cases the code clearly showing the intent is much better than optimal one.
[ Parent
| on HN ]
There are no comments on this comment yet.