3 ms·
Dependency injection[1] would be preferable. Alter behavior based on defined environments (dev, test, staging, production), not whimsy. [1] http://en.wikipedia
by NotDaveLane 13y ago
Dependency injection[1] would be preferable. Alter behavior based on defined environments (dev, test, staging, production), not whimsy.
[1] http://en.wikipedia.org/wiki/Dependency_injection http://en.wikipedia.org/wiki/Dependency_injection