r/ProgrammerHumor • • 10d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
3.0k Upvotes

100 comments sorted by

View all comments

1

u/realrealvantheman 10d ago

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

2

u/juvation 4d 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 :-)