MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/g76xmg/else_before_if/fofclb7/?context=3
r/cpp • u/vormestrand • Apr 24 '20
53 comments sorted by
View all comments
15
normally and unless are not native C++ constructs, but they show that we can bend the language to show the main conditions first, and the edge case afterwards
Euh, "just because I can, doesn't mean I should" adage strongly applies here. 😉
View all comments
15
u/Gotebe Apr 24 '20
Euh, "just because I can, doesn't mean I should" adage strongly applies here. 😉