June 5, 2020
//
3 minute read
Patterns Revisited Singleton
Globals are bad. Data should be encapsulated and only available when needed. These are some of the first things you learn when you start to program. If there are multiple actors that can write to shared data, side affects can occur.