Hacker News new | past | comments | ask | show | jobs | submit login

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.”




Combine that with "Red, Green, Refactor" (write failing tests, fix code refactor) and we have another pair for the list of mutually contradicting proverbs.


They're different development phases. If you've got a green test suite, you can just "Refactor, Green, Refactor, Green".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: