4 ms·
Probably the best section is right here: > However, refactoring can be a better tool before you begin making any changes as a way to make your change easier. A
by gumby 7y ago
Probably the best section is right here:
> However, refactoring can be a better tool before you begin making any changes as a way to make your change easier. As Kent Beck said “Make the change easy (warning: this may be hard), then make the easy change.”
- gowld 7y agoCombine that with "Red, Green, Refactor" (write failing tests, fix code refactor) and we have another pair for the list of mutually contradicting proverbs.
- regularfry 7y agoThey're different development phases. If you've got a green test suite, you can just "Refactor, Green, Refactor, Green".