3 ms·
Such an instance would just be a variable somewhere that would be initialized in some init() call when the program starts. Every user of that instance will use
by roncesvalles 2y ago
Such an instance would just be a variable somewhere that would be initialized in some init() call when the program starts. Every user of that instance will use it directly (as opposed to storing a reference to it locally DI style).
- gf000 2y agoSo global mutable state? How wonderfully modern!