Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Architecture and system design
/
SOLID principles
Which module arrangement best satisfies the Dependency Inversion Principle?
from SOLID principles
TypeScript 6
intermediate
1 min
Which module arrangement best satisfies the Dependency Inversion Principle?
The business module defines an OrderStore port, the database adapter implements it, and the composition root connects them.
The business module imports a vendor client interface, but a container constructs the client.
Every module reads the service locator so no constructor names a concrete class.
Check
Ask AI about this kata
Report an error
next kata
Which evidence most strongly supports separating tax calculation from receipt wording und…
Quiz
A new version is available
Reload