3 ms·
Program against interfaces instead of concrete classes (i.e. structs). The coupling needs to be loosened.
by metadat 4y ago
Program against interfaces instead of concrete classes (i.e. structs). The coupling needs to be loosened.
- brianvoe 4y agoAgreed! Thanks.
- metadat 4y agoTo be clear, I don't think anything should be pulled out. Likely needs a lot of re-working and thought given to clean up the dependency graph such that you have primarily abstract interfaces across logical boundaries. Edit: Here's an example, anything along the lines of "clean domain-driven design" will hopefully be enlightening. https://hackernoon.com/clean-domain-driven-design-in-10-minutes-6037a59c8b7b https://hackernoon.com/clean-domain-driven-design-in-10-minu... Best wishes and good luck!