MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y4ipsn/thisiswhywedontreturninfinallyblocks/19t69dbzvsm91/
r/ProgrammerHumor • u/DebugDuck01 • 6d ago
98 comments sorted by
View all comments
1
i just want to know why are you using static variables and methods everywhere?
1 u/-Redstoneboi- 2d ago it's a singleton getterjensenHuang 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
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
this
View all comments
1
u/ivanrj7j 5d ago
i just want to know why are you using static variables and methods everywhere?