Refactoring

So over Christmas I finished reading Code Complete 2 and Refactoring. Both are good books and very highly recommended for anyone doing software development. Code Complete 2 is the more accessible of the two. It's good because it doesn't follow any specific school of software development. So instead of giving you hype about "extreme programming" it provides you with best practices that are based on surveys and studies done by researchers.

I also ordered most of the books recommended at the end of Code Complete 2 in the reading list for developer's. So that's more than 12 books I hope to read this year.

Now I'm refactoring my software. I really like the idea of giving functions intelligent names. I'm breaking up things into smaller functions. Unfortunately I'm not sure what to do with testing. I should implement code to do testing (probably "simpletest" for php), but it's going to be hard to implement.