r/ProgrammerHumor • • 4d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
2.8k Upvotes

97 comments sorted by

View all comments

Show parent comment

1

u/laplongejr 4d ago

Wouldn't your research tell you that the previous return also defines the return value of a function? It's the unstoppable force vs the immovable object.  

I would be very surprised if any Java dev could tell with 100% certainty the return value (or exception) of that function without trying it out themselves.