DEV Community

How I Learned to Stop Worrying and Love the Service Locator

Scott Hannen on November 28, 2018

Service locators are an anti-pattern. They are what we used before we learned about dependency injection. If you already know what a service loca...
Collapse
 
nickhodges profile image
Nick Hodges

This is brilliant. The best technical article I've read in months.

Collapse
 
phlash profile image
Phil Ashby

Excellent practical advice for digging oneself out of a hole, thank you!