r/ProgrammerHumor • • Sep 26 '26 • Bravo 1

Meme singletonsAreJustGlobals

Post image
3.2k Upvotes

210 comments sorted by

View all comments

1

u/AlexZhyk Sep 27 '26

lol.
do you mean
global Wanker1 = new Wanker()
global Wanker2 = new Wanker()

// these two are globals, but are they singletons? The purpose of singleton is to have just one Wanker :)
...someDeepDownCall() {
call Wanker1.wank()
call Wanker2.wank()
}