Browse by Tags

Code Camps this weekend!
Thursday, April 10, 2008 10:54 PM
There are two code camps this weekend: CMAP Code Camp in Maryland Pittsburgh Code Camp in Pennsylvania I will be speaking at the Pittsburgh Code Camp on Refactoring - a topic that is very dear to me. Register now and come along to talk code.   We are hiring!  Do you want to write beautiful code in a Test Driven, Refactored, Agile .NET software company... Read More...
Don't miss the Nova Code Camp South this weekend!
Friday, March 28, 2008 8:34 AM
The NoVa CodeCamp South v1 will be held on March 29th 2008 in Woodbridge VA.  The speaker schedule has been posted here .   I am presenting two sessions: 9:00-10:15:     Refactoring in C# 1:00-2:15:        Web Application Testing in Watin Register now !   We are hiring!  Do you want to... Read More...
Can you find the bug in this code? (THE FIX)
Wednesday, March 26, 2008 12:30 PM
Thanks to everyone for contributing!  It was really neat to read everyone's ideas and see the discussion and review (talking about code is always fun!).  Here is a summary of responses and the "fixed" code.  If you are interested in the original problem, go here .   @drakiula: The idea with the Response.Redirect is that it will stop... Read More...
Please question the need for whitespace
Tuesday, March 18, 2008 12:02 AM
I have blogged about this before but I think it is a common problem that is worth restating since it affect developers across our industry.  I noticed the following method recently and again the curious separation of sections by whitespace popped into my head: 1: private void CalcHeaderOffsets() 2: { 3: this .fs = new FileStream( assemblyPath, FileMode.Open... Read More...
NoVa CodeCamp South v1 speaking schedule has been announced!
Friday, March 07, 2008 11:48 PM
The NoVa CodeCamp South v1 will be held on March 29th 2008 in Woodbridge VA.  The speaker schedule has been posted here . I will be presenting on two topics: Refactoring in C# - bad code to better code Web Application Testing in Watin There are lots of great sessions from WPF, TDD, SSIS, jQuery, SQL Server 2008 and more... You can register now .   We... Read More...
Refactoring in C# at RockNUG this week
Friday, March 07, 2008 10:35 PM
I will be giving a presentation on Refactoring in C# at RockNUG on Wednesday March 12th 2008 at 6:30pm.  Directions here . What could be more fun on a Wednesday evening than critiquing some bad code and making it better? :) Come along to learn how to clean code like the Thycotic team. What do we look for? How do we take small steps to keep it working? What... Read More...
What makes some code confusing?
Saturday, February 23, 2008 12:49 AM
Developers look at code for hour upon hour every day.  After some years of doing this, you can just look at something and almost intuitively understand what it is doing - assuming that some effort has been made by the developers to keep the code clear and understandable.  But every now and then, you find a doozy . I came across this one while working... Read More...
Speaking on Refactoring at RockNUG in March
Friday, January 25, 2008 8:37 AM
I will be presenting on Refactoring in C# at the Rockville .NET User Group (RockNUG) on March 12th 2008 at 6:30pm. Refactoring in C# - Bad code to better code What could be more fun on a Wednesday evening than critiquing some bad code and making it better? :) Come along to learn how to clean code like the Thycotic team. What do we look for? How do we take small... Read More...
Removing dead code
Wednesday, December 05, 2007 1:09 AM
What does your code terrain look like?  Are there bodies of dead logic lying here and there?  Maybe they helped briefly while you worked towards a better solution or perhaps they just fell victim to changing business rules. At a recent Code Camp, there was a question about code generation and I answered that we (as developers) are required to love every... Read More...
More Posts