Monthly Archives: April 2009

‘Vice’ Testing

Refactoring to tests is no easy task. The largest problem that you run into is moving around code with no feedback as to whether you are breaking modules other than doing very high level user/functional testing directly against the UI. … Continue reading 

Posted in Uncategorized | 1 Comment

When is your code too defensive?

I had a discussion with some fellow developers a little while ago about DesignByContract and creating defensive code. The subject of being *too* defensive came up in the fact that while writing defensive code is a good thing, it’s not … Continue reading 

Posted in Uncategorized | Leave a comment

Refactoring to Tests

When presenting on TDD/Unit testing to user groups or code camps, a common question I hear is, "How can I get tests into my existing codebase?". This is often where people want to put effort when first starting with unit … Continue reading 

Posted in Uncategorized | Leave a comment

Code Smell: Fat Controller

An unpublished anti-pattern that not everyone is familiar with can be called the “Fat Controller” Post Footer automatically generated by Add Post Footer Plugin for wordpress.

Posted in Uncategorized | Leave a comment