Tag: isp

Latest Posts
Interface Segregation Principle: Stop Forcing Clients to Carry Dead Weight

Robert C. Martin’s definition is short: “Clients should not be forced to depend on methods they do not use.”
A client here is any class that implements or depends on an interface. If that class has to implement methods it has no use for, the interface is too wide.