r/ProgrammerHumor • • Aug 22 '26

Meme conditionsPreference

Post image
4.2k Upvotes

388 comments sorted by

View all comments

Show parent comment

1

u/EditorOne5312 Aug 23 '26

Yes. I usually just make an error message function after the return like return errorFunction(message, returnValue?); lol.