Sobes.tech
Junior — Middle

Which SOLID principle is impossible to implement without using interfaces?

sobes.tech AI

Answer from AI

The Dependency Inversion Principle (DIP) from SOLID is practically impossible to implement without using interfaces or abstractions. DIP requires that high-level modules do not depend on low-level modules directly, but both depend on abstractions (e.g., interfaces). This allows for easy changing of implementations without modifying the code, which is impossible without interfaces or similar abstraction tools.

Which SOLID principle is impossible to implement… - sobes.tech