3 ms·
In my mind there's two types of modules: - technical, e.g. db abstraction layer - business, e.g. checkout What I'm suggesting is having this structure to hel
by aledalgrande 4y ago
In my mind there's two types of modules:
- technical, e.g. db abstraction layer
- business, e.g. checkout
What I'm suggesting is having this structure to help you with future swaps/refactors, because they will stay very localized.
Of course where to cut a module out of a codebase is a skill in itself. Cut too much and you have redirection everywhere, cut too little and you have multiple responsibilities, bigger PRs and harder refactors.