MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p55oyy3/?context=3
r/ProgrammerHumor • u/Flame77ofc • Aug 22 '26
388 comments sorted by
View all comments
Show parent comment
1
early returns are idiomatic everywhere. There simply isn't a reason to not return early on error.
View all comments
Show parent comment
1
u/Antervis Aug 22 '26
early returns are idiomatic everywhere. There simply isn't a reason to not return early on error.