TL;DR: Don't over-generalize Problems Speculative Design Complexity Over-Engineering Solutions Remove the interface until you get more examples Context In the past, programmers told us to design for change. Nowadays, We follow the scientific...

Markdown supported · ⌘↵ to post
Great article.
Maxi, let it go to 1K(articles from this series)
What do you think of interfaces implemented by only one class, when that class represents a Service and not a DTO?
Something like
public interface IDoSomething{
void Do();
}
public class DoSomething : IDoSomething{
void Do();
}
Cesar Kohl
Agreed!