MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y4ipsn/thisiswhywedontreturninfinallyblocks/19t4p5p5f6ppc/?context=3
r/ProgrammerHumor • u/DebugDuck01 • 8d ago
99 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 8d 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- 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