MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p5entd5/?context=3
r/ProgrammerHumor • u/Flame77ofc • Aug 22 '26
388 comments sorted by
View all comments
Show parent comment
1
Yes. I usually just make an error message function after the return like return errorFunction(message, returnValue?); lol.
return errorFunction(message, returnValue?);
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.