James Kovacs

Sponsors

The Lounge

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Becoming a Jedi - Part 3 of N

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.


Posted 06-16-2008 12:11 AM by james.kovacs
Filed under:

[Advertisement]

Comments

DotNetKicks.com wrote Becoming a Jedi - Part 3 of N
on 06-17-2008 8:26 AM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

SelfishGene wrote re: Becoming a Jedi - Part 3 of N
on 06-18-2008 5:46 PM

Surely you could've come up with a better way to distribute these.

james.kovacs wrote re: Becoming a Jedi - Part 3 of N
on 06-18-2008 6:03 PM

@SelfishGene - If you've got a suggestion, I'm all ears. My basic criteria were:

#1 - Ease of streaming/download.

#2 - No big bandwidth bill.

If there is something in particular causing you grief, let me know and I'll see if I can fix it. Thanks for watching.

gOODiDEA.NET wrote Interesting Finds: 2008.06.23
on 06-22-2008 8:09 PM

.NET Dynamic Compilation How is my C# code converted into machine instructions Becoming a Jedi - Part

gOODiDEA wrote Interesting Finds: 2008.06.23
on 06-22-2008 8:10 PM

.NETDynamicCompilationHowismyC#codeconvertedintomachineinstructionsBecomingaJedi-...

Andrei Butnaru's blog wrote Productivity tools, Resharper
on 07-21-2008 3:52 PM

Productivity tools, Resharper

Add a Comment

(required)  
(optional)
(required)  
Remember Me?