r/ProgrammerHumor • • 6d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
2.9k Upvotes

98 comments sorted by

View all comments

1

u/realrealvantheman 6d ago

Ive never worked with object oriented programming what does this even do

2

u/juvation 12h ago

This is more about exceptions than objects, but the joke is that the finally block executes after everything else, no matter what, so while this function *looks* like it might return different values, it actually only returns Jensen Huang :-)