Encapsulation Is Dead, Let’s Use Distance of Coupling Instead (Webinar #55)

Encapsulation is one of four fundamental principles in object-oriented programming. However, as we practitioners know, it doesn’t really work. Getters and setters don’t really help, but only make the code more complex. It is suggested to use a different approach to enforce decoupling: distance of coupling metric.
Back to Top