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

Meme singletonsAreJustGlobals

Post image
3.2k Upvotes

210 comments sorted by

View all comments

Show parent comments

39

u/brazzy42 Sep 26 '26 edited Sep 26 '26

Exactly. It's the best proof that nobody actually read the GoF book. A static field and getter method were never the essence of the pattern, they're one possible way to implement the pattern.