MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y4ipsn/thisiswhywedontreturninfinallyblocks/19t4p5p5f6ppc/
r/ProgrammerHumor • u/DebugDuck01 • 5d ago
97 comments sorted by
View all comments
Show parent comment
14
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.
13
Anything but a compile time error is mental illness.
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