Vlad's Roam Garden

Powered by 🌱Roam Garden

coupling

This is an "Orphan" page. Its core content has not been shared: what you see below is a loose collection of pages and page snippets that mention this page, as well as snippets of this page that were quoted elsewhere.

Referenced in

Write shy code

en Law of Demeter clean code coupling encapsulation make-public

treat challenges with writing unit tests as a feedback about your design

This should serve as a feedback for your design - you should refactor your code to make it easy to test, reducing it's coupling to other components, making it's dependencies explicit, etc

good interfaces have small surface area

seedling design clean code interface coupling encapsulation information surface area make-public

Keep knowledge local

seedling clean code encapsulation coupling make-public

coupling