Entries from June 2009

ActiveRecord is hard to test

June 29th, 2009 · 1 Comment

Reader asks: have a question regarding testing of Active Record style domain models The problem is: client code of these objects will instantiate them directly, modify some attributes and then invoke a save(), or insert() method directly on the object. Writing a unit test that doesnt talk to the database is difficult since the save/insert [...]

Tags: Uncategorized

What Pair-Programing is Not

June 12th, 2009 · 37 Comments

People often ask how can I justify two people when one will do. Will this not, just double my cost? To answer this question I think it is important to discuss what pair-programing is not. How much of your time do you spend writing code? If you answer 100% than you are lying! Between checking [...]

Tags: Uncategorized