Quantcast
Channel: User Filip Milovanović - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 173

Comment by Filip Milovanović on Do I need to create an interface for every service class to follow good design principles?

$
0
0
"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

Viewing all articles
Browse latest Browse all 173

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>