Sobes.tech
Junior — Middle

In which direction are the dependencies oriented in the principles of clean architecture?

sobes.tech AI

Answer from AI

In the principles of clean architecture, dependencies are oriented inward — from external layers to internal ones. This means that high-level modules (e.g., business logic) do not depend on low-level modules (e.g., interfaces or databases). Inner layers should not know about the implementation details of outer layers, which ensures independence and testability of the code.