“For the same reasons tests in TDD aid thinking, driving a design from a particular behavior change helps focus attention on what matters.” Kent Beck A “good design” is one that makes future behavior changes simpler. Scoring structure changes can be done by comparing their effects on historical behavior changes. For example, reducing the number of places or the "span" of changes required for a behavior adjustment is better design. This approach focuses on improving software adaptability. It’s about measuring how well a structural change supports future development, while TDD provides feedback how well behavior is implemented. Source: https://lnkd.in/d99S_Kzp Join 4,400+ engineers: journal.optivem.com #tdd #softwaredesign #softwaredevelopment #optivem
TDD in Legacy Code | Helping Engineering Leaders reduce bugs & accelerate delivery
8moJelena Cupać, yes, good structure is an enabler for cheap behavioral changes.