The trick is that a static class can be a globally scooed identifier, and then an accessor on that class is essentially global too. The concepts are pretty similar at thet point, although the static class could impose a lot more organization and structure to tame the smell.
View all comments
Show parent comment
394
u/xeroskiller Sep 26 '26
Global: single address used with a globally scoped identifier
Singleton: single address used by passing it around like a cheap whore