r/ProgrammerHumor • • Sep 26 '26

Meme singletonsAreJustGlobals

Post image
3.2k Upvotes

210 comments sorted by

View all comments

0

u/[deleted] Sep 26 '26

[deleted] — view deleted comment

5

u/anyOtherBusiness Sep 26 '26

A singleton is not automatically thread safe and this is also not a “main purpose” of this pattern.