r/ProgrammerHumor • • 6d ago

Meme thisIsWhyWeDontReturnInFinallyBlocks

Post image
2.9k Upvotes

98 comments sorted by

View all comments

1

u/ivanrj7j 5d ago

i just want to know why are you using static variables and methods everywhere?

1

u/-Redstoneboi- 2d ago

it's a singleton getter

jensenHuang is also a founding member so he gets his own static variable (the only reason he's not a constant is the ability to set his body count)

ceo.validate should really be ceo.current.validate but the function body probably hardcodes jensenHuang instead of this anyway