Via James Shore’s blog:

before pulling weeds
perhaps I should remember
what the plants look like

How very true. One common action I like to take when undertaking a refactoring is to comment out sections of the code I am about to refactor and run the unit test… if nothing breaks, proceed no further until you have better tests in place! ;)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!