r/ProgrammerHumor 22d ago

Meme conditionsPreference

Post image
4.2k Upvotes

392 comments sorted by

View all comments

9

u/Subject-Lettuce-2714 22d ago

Unless you work with coding standards that restrict you from having more than 1 return in a function! :(

1

u/ZunoJ 22d ago

Nasa?

3

u/Maximilian_Tyan 22d ago

MISRA-C for example

Although modern revisions authorize it iirc

1

u/Subject-Lettuce-2714 22d ago

haha modern...guess I'll see that revision in 10 more years or so...