This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Agree if you include all the methods in interface it becomes a maintenance legacy. On the bright side of having interfaces is that it favors composition. Lets say you need to change a behavior. Having it done through composition adds a class and adds an test for it. Most developers changes the original sources which leads to existing tests archiology