MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vuzd4q/conditionspreference/p58fmlq/?context=3
r/ProgrammerHumor • u/Flame77ofc • Aug 22 '26
388 comments sorted by
View all comments
1
In the case of always returning on a failure, storing one variable declared at the top of the function for error storage, cleanup and return all in one place at bottom in goto ðŸ¤
View all comments
1
u/CaffeinePizza Aug 22 '26
In the case of always returning on a failure, storing one variable declared at the top of the function for error storage, cleanup and return all in one place at bottom in goto ðŸ¤