r/ProgrammerHumor • • 8d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
3.0k Upvotes

99 comments sorted by

View all comments

Show parent comment

14

u/ba-na-na- 8d 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 8d ago

Anything but a compile time error is mental illness.