Slide 29
Slide 29 text
Être générique « au cas où »
« An important result […] is a movement toward simplicity of
design. Before I used refactoring, I always looked for flexible
solutions. I would wonder how any requirement would change
during the life of the system.
Because changes were expensive, I would look to build a design
that would stand up to the changes I could foresee. The problem
with building a flexible solution is that flexible solutions are more
complex than simple ones. […]
Building flexibility in all these places makes the overall system a
lot more complex and expensive to maintain. »
- Fowler, Refactoring