2 ms·
I don’t think the comment implies that a service can’t be layered.
by Ma8ee 6y ago
I don’t think the comment implies that a service can’t be layered.
- kenniskrag 6y agolayering is just a stronger agreement compared to composition imho.
- exabrial 6y agoYes. So something like a "DatabaseService" might have a database connection, which is code we don't own. But the code we do own stops at that layer. This prevents a spider web of dependencies opening up.