SOLID Principles - DIP
Single Responsibility | Open Closed | Liskov Substitution | Interface Segregation | Dependency Inversion The Dependency Inversion Principle states that “Depend upon Abstractions. Do not depend upon concretions”. A good real world example of this is plug sockets around your house; any device you buy can be plugged into any socket in your house. You don’t have to buy new set of devices when you move house, and you don’t have to buy a new house for your devices!...