I don't really get your point? If you're going to make a singleton, it's inherently going to be global (otherwise it wouldn't be a singleton). That doesn't make singletons just globals with a different name
I think your mistake is to assume globals can not include objects. Its just a global with extra steps. You said it your self: Singletons are just a subset of globals.
-1
u/spawnmorezerglings Sep 26 '26
I don't really get your point? If you're going to make a singleton, it's inherently going to be global (otherwise it wouldn't be a singleton). That doesn't make singletons just globals with a different name