Mark Lennox

67%
Flag icon
The fewer public types you have, the smaller the number of potential dependencies. There’s now no way9 that code outside this package can use the OrdersRepository interface or implementation directly, so we can rely on the compiler to enforce this architectural principle.
Clean Architecture: A Craftsman's Guide to Software Structure and Design
Rate this book
Clear rating
Open Preview