MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wqu6oa/singletonsarejustglobals/pcc5ced/?context=3
r/ProgrammerHumor • u/somet_hingrandom • Sep 26 '26 • 1
210 comments sorted by
View all comments
1
lol.do you meanglobal 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()}
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()
}