Jonathan Cogley's Blog
C#, Test Driven Development, Pair Programming, MVP C#, ASPInsider, Secret Server
Browse by Tags
All Tags
»
Refactoring
»
TDD
(
RSS
)
Extreme Programming
General Software Development
Pair Programming
Software Development
Test Driven Development
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...
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
Go
This Blog
Home
Contact
Links
Tags
.NET
.NET User Groups
Agile
ASP.NET
Blogging
Books
Code Camp
Continuous Integration
Design Patterns
DevConnections
Extreme Programming
Fun
General Software Development
ISV
Java
jquery
Microsoft DevDays
Microsoft Partner
Open Source
Pair Programming
PDC
PghDotNet
Refactoring
RegEx
Remote Scripting
Security
SharePoint
Software Development
SQL Server
TDD
TeamLead
TechEd
Test Driven Development
VB.NET
Navigation
Home
Blogs
Archives
October 2011 (1)
May 2011 (1)
April 2011 (1)
March 2011 (3)
December 2010 (1)
October 2010 (1)
August 2010 (2)
July 2010 (2)
April 2010 (2)
March 2010 (4)
February 2010 (2)
December 2009 (2)
November 2009 (7)
August 2009 (1)
July 2009 (2)
June 2009 (2)
May 2009 (3)
April 2009 (5)
March 2009 (2)
April 2008 (5)
March 2008 (10)
February 2008 (1)
January 2008 (4)
December 2007 (2)
November 2007 (2)
October 2007 (2)
August 2007 (1)
July 2007 (2)
June 2007 (3)
May 2007 (3)
April 2007 (3)
March 2007 (7)
February 2007 (4)
January 2007 (4)
December 2006 (1)
November 2006 (3)
October 2006 (6)
August 2006 (2)
July 2006 (2)
June 2006 (2)
May 2006 (3)
April 2006 (5)
March 2006 (4)
February 2006 (2)
January 2006 (5)
December 2005 (9)
November 2005 (1)
October 2005 (2)
September 2005 (9)
August 2005 (2)
July 2005 (2)
June 2005 (3)
May 2005 (4)
April 2005 (6)
March 2005 (5)
February 2005 (1)
January 2005 (2)
December 2004 (3)
November 2004 (8)
October 2004 (12)
September 2004 (5)
August 2004 (1)
July 2004 (3)
June 2004 (1)
May 2004 (6)
April 2004 (2)
March 2004 (3)
February 2004 (5)
January 2004 (2)
December 2003 (3)
October 2003 (2)
September 2003 (2)
August 2003 (1)
Syndication
RSS
Atom
Comments RSS