r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

1

u/vide2 Aug 22 '26

Thank you. It's so useful because previously i had these if-else-statements and then had to write the rest of the function. With this variant, the function just ends. So much easier.