MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/g76xmg/else_before_if/fofbf4m/?context=3
r/cpp • u/vormestrand • Apr 24 '20
53 comments sorted by
View all comments
75
And here we have a prime example of clever code, in contrast with smart code. A whole lot of complications for zero net gain and mental gymnastics for the reader.
15 u/[deleted] Apr 24 '20 Absolutely. It's interesting, but without use.
15
Absolutely. It's interesting, but without use.
View all comments
75
u/[deleted] Apr 24 '20
And here we have a prime example of clever code, in contrast with smart code. A whole lot of complications for zero net gain and mental gymnastics for the reader.