Browse by Tags

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...
Refactoring example in C# and VB.NET
Monday, March 26, 2007 7:57 PM
Our very own Bryant Smith has revamped his conversion of Martin Fowler's refactoring example (originally in Java) to now cover both C# and VB.NET. You can find the article here with the relevant downloads and walkthrough. Martin Fowler's example works nicely because it is a simple class structure that is easy to understand. It also has enough complexity to allow... Read More...
Whitespace is a code smell
Friday, March 23, 2007 12:39 AM
Do you space out your code so there are line breaks between the pieces of logic? Why do you think this is necessary? Typically this is done to separate chunks of logic so that they can be easily distinguished. If it is a complicated enough chunk, then it may even make sense to put a comment at the top of the chunk. At this point, the Agile police will jump on... Read More...
More Posts