Re:Clear is better than clever [pdf]
by JJMcJ on Monday May 06, 2019 @12:01PM
(#19840619)
Parentheses would help make the one liner simpler but your basic point seems quite accurate.
In the end, what's simpler, spending 15 seconds looking at a one liner using well known language syntax, or digging through half a screen of if states, for loops (use iterators instead), for two examples.
In the end, what's simpler, spending 15 seconds looking at a one liner using well known language syntax, or digging through half a screen of if states, for loops (use iterators instead), for two examples.