Please question the need for whitespace

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: [...]

Refactoring example in C# and VB.NET

Our very own Bryant Smith has revamped his conversion of Martin Fowler’s refactoring example (originally in Java) to nowcover 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 structurethat is easy to understand. It alsohas enough complexity [...]

Whitespace is a code smell

Do you space out your code so there are line breaks between the pieces of logic? Whydo you think this isnecessary? 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 [...]

Pair Programming improves your communication skills

Many developers in our industry prefer a dark corner to the presentation podium. This is often explained away with references to introverted personalities and geekish tendencies. While this may be true for certain individuals, there are definitely many benefits to breaking away from this stereotype. One of the best ways to progress in the business [...]

keep looking »