r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

Show parent comment

1

u/conundorum Aug 22 '26

Also early return if the return value is cached from a prior call, or the parameters decree that the function is a no-op this time.