Geeks With Blogs

Tim Murphy

Tim is a Solutions Architect for PSC Group, LLC. He has been an IT consultant since 1999 specializing in Microsoft technologies. Along with running the Chicago Information Technology Architects Group and speaking on Microsoft and architecture topics he was also contributing author on "The Definitive Guide to the Microsoft Enterprise Library".

I review for the O'Reilly Blogger Review Program

Technorati Profile

Tim Murphy's .NET Software Architecture Blog Adventures in Architecting and Developing .NET

I am currently checking some code that I had written to be published.  The process has put an exclamation point on the importance of code reviews for me.  The parallels between reviewing the text, structure and examples in the book and the organization and coding structures of an application really struck home.

Sometimes you just need to walk away from what you are working on for a while.  You may come back an wonder what the heck was I doing.  I found places that I had been writing while coding and the final code didn't make it to the text.  Other places the structure didn't make sense.

How many times have you written some code by laying out the over all structure and them forgotten to implement a stub (yes this is why code generation puts exception throws in stubs). 

Code reviews are the best way to catch these and other gotchas early.  Make them fun.  I know associates who have had a beer fund (you know who you are) where you had to donate for every time you broke the build.  Take that idea in a new direction.  Say you have to donate for every code smell that someone finds in your code during a review.  It could make for a great party at the end of the project.

Posted on Saturday, October 28, 2006 4:05 AM Development | Back to top

Comments on this post: Reviewing Your Own Work

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Tim Murphy | Powered by: | Join free