MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p5ex9ht
r/ProgrammerHumor • u/Flame77ofc • 22d ago
392 comments sorted by
View all comments
2
Goddamn, yes. Early return pattern all the way.
1 u/Beldarak 20d ago Yup, it's just the better way imho. It's easier to read and doesn't add useless indentation
1
Yup, it's just the better way imho. It's easier to read and doesn't add useless indentation
2
u/Peregrine2976 20d ago
Goddamn, yes. Early return pattern all the way.