Re:Why bad scientific code beats code following “best practi...
by tigershark on Monday August 29, 2016 @03:28AM
(#12380560)
Automatic factories are extremely useful to kill the ServiceLocator anti-pattern.
[ Parent
| on HN ]
Re:Why bad scientific code beats code following “best practi...
by qwertyuiop924 on Monday August 29, 2016 @06:58AM
(#12381118)
The 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.