September 2019
Intermediate to advanced
352 pages
8h 3m
English
Topic 28 | Decoupling |
When we try to pick out anything by itself, we find it hitched to everything else in the Universe.
In Topic 8, The Essence of Good Design we claim that using good design principles will make the code you write easy to change. Coupling is the enemy of change, because it links together things that must change in parallel. This makes change more difficult: either you spend time tracking down all the parts that need changing, or you spend time wondering why things broke when you changed “just one thing” and not the other things to which it was coupled.
When you are designing something you want to be rigid, a bridge or a tower perhaps, you couple the components together:
The links work ...
Read now
Unlock full access