"which I think means I should create an interface for each service" - it does not mean that. The first point to keep in mind is: this shouldn't be done mechanistically - you actually have to think things through, reason if this is needed/beneficial and why, then decide to apply it or not. This level of care is not always practiced, though, but the danger in that is that if you keep doing this without thinking it through, you'll could actually end up with complicated, tangled code that is not SOLID at all. Since you're an intern, consult with someone, and ask for some guidelines to follow. 1/2
↧