Dependency Inversion Principle
The Dependency Inversion Principle (DIP) states that high level modules(Payment ) should not depend on low level modules(UpiPayment ,CryptoPayment); both should depend on abstractions(PaymentGateway). Abstractions should not depend on details.
Bad Pr...
gurupalaniveltech.hashnode.dev1 min read