r/ProgrammerHumor • • 5d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
2.9k Upvotes

97 comments sorted by

View all comments

Show parent comment

14

u/ba-na-na- 5d ago

Well that’s the point of finally, to always run before returning, so I would expect either compile error, or actually overriding all other branches

13

u/DebugDuck01 5d ago

Anything but a compile time error is mental illness.