Hello Stack Overflow.
I'm studying for a CS exam I have tomorrow and I'm looking over the review sheet that our professor provided for us. One of the points says to know why Singleton is a better choice than Global.
I'm not exactly sure the reasoning, but I do remember him saying something about Singleton using less "namespace pollution." I made several Google searches comparing Singleton and Global, but pretty much all of the results said that both are poor options lol. So it just confused me anymore.
If anyone can help me clear this up, it'll be greatly appreciated. Thanks!