Blog Home  Home | The Bookshelf | Presentations | About Me Feed your aggregator (RSS 2.0)  
James Kovacs' Weblog - Becoming a Jedi - Part 3 of N
 
 Sunday, June 15, 2008

My third episode of Becoming a Jedi is live. In this episode, I start looking at ReSharper's refactoring capabilities.

Episode Listing

Part 1 of N: Code Browsing streaming download
Part 2 of N: Code Cleanup streaming download
Part 3 of N: Refactoring I streaming download

Streaming requires Silverlight 1.0 or higher. Download is via Microsoft Skydrive.

After finishing the episode, I realized that I committed a huge refactoring faux pas. I neglected to run unit tests after each refactoring. I was feeling cocky and just doing simple refactorings such as renames and similar. When I tried to run the application later, it failed because it could no longer find PetShop.SqlServerDAL.Category, which had been renamed to PetShop.Repositories.CategorySqlRepository. So even on simple refactorings, you need the safety net of a good suite of unit tests. Lesson learnt.

Sunday, June 15, 2008 11:09:59 PM (Mountain Standard Time, UTC-07:00)  #    Comments [1]    |   | 
Copyright © 2008 James Kovacs. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.