grimboite/articles/dev/improving-the-design-of-exi...

857 B

Title Writers Tags
Rafactoring - Improving the Design of Existing Code Martin Fowler, Kent Beck, John Brant, Willam Opdyke, Don Roberts refactoring, design patterns, code

Code will be read more often than it will be written.

Modifier du code existant implique des risques: introduction subtile de nouveaux bugs et modifications du comportement de certaines fonctionnalités. En fonction de la base de code existante, une phase de refactoring peut prendre entre plusieurs jours et plusieurs semaines: au plus on creuse, au plus on trouve de choses nécessitant une modification, qui implique à nuoveau de creuser encore, ...

The more you dig, the more stuff you turn up... and the more changes you make. Eventually, you dig yourself into a hole you can't get off. To avoid digging your own grave, refactoring must be done systematically.