There is a very thin lining of difference between Service Locator (in short SL) and Dependency Injection (in short DI). Most people get confused with these terms, even I was confused with them for so long. Even more so for
Breaking the ice: Service Locator and Dependency Injection Which is What
![Breaking the ice: Service Locator and Dependency Injection Which is What](https://s3-us-east-2.amazonaws.com/rivu.dev/2020/06/coffee-writing-computer-blogging-34600.jpg)