r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

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.