3 ms·
Automatic factories are extremely useful to kill the ServiceLocator anti-pattern.
by tigershark 10y ago
Automatic factories are extremely useful to kill the ServiceLocator anti-pattern.
- qwertyuiop924 10y agoThe ServiceLocator anti-pattern seems a bit silly: either just depend on the object directly, or if there may be different objects used throughout the system, pass one in.