Jonathan Cogley's Blog
C#, Test Driven Development, Pair Programming, MVP C#, ASPInsider, Secret Server
Browse by Tags
All Tags
»
TDD
(
RSS
)
.NET
.NET User Groups
ASP.NET
Blogging
Code Camp
Continuous Integration
Extreme Programming
Fun
General Software Development
Pair Programming
PDC
Refactoring
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...
Pair Programming improves your communication skills
Monday, March 19, 2007 11:50 PM
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 world is to...
Read More...
Writing "good" code: How do you understand code?
Monday, March 19, 2007 7:22 AM
John Morales has a great post on understanding complexity and how to think about difficult concepts. I think John hits on a key concept in the idea of "good code" while I realize it wasn't the main focus of his post: good code is simple for everyone (the team in question) to understand. I think this falls in nicely with our typical #1 goal on projects - writing...
Read More...
Code Review - Standing on the shoulders of smart people
Sunday, March 18, 2007 9:47 PM
A very intelligent person once said: "If I have seen further it is by standing on the shoulders of Giants." The person in question, is of course none other than Sir Isaac Newton . He was able to go further with his discoveries because others had solved some of the details already and provided a layer of abstraction for him to improve upon. When doing a code review...
Read More...
Yet Another Mid-Atlantic Code Camp - but AGILE!!! (April 14, 2007 8am-6pm)
Sunday, February 25, 2007 9:31 PM
Do you breathe agile? Do your progress bars always turn green? Do you refactor in your sleep? Then I need you for the agile track … We are looking for attendees, speakers and volunteers! This is the first Mid-Atlantic Code Camp to have an official Agile track (and I am the track chair – woohoo!) Attendees Register here , now, just do it. Speakers...
Read More...
Will TDD become mainstream?
Sunday, February 25, 2007 12:26 PM
I have been asked a number of times in the last few years if I think TDD (Test Driven Development) will go mainstream. Firstly, we need to agree on what mainstream is – Wikipedia does not give any hard numbers ( http://en.wikipedia.org/wiki/Mainstream ) but it seems like 20% would be a good number for software development (I pulled this out of thin area...
Read More...
Speaking on TDD at the CMAP Architect Group in Maryland tonight (2/20/2007)
Tuesday, February 20, 2007 12:07 AM
I will be presenting on Test Driven Development at the CMAP Architect Group in Maryland. Session details and directions here . Abstract: TDD is hard. It is hard because we have to unlearn the way many of us have always coded. Instead we have to start writing unit tests and what is more; we have to write the test BEFORE the code. Come along to learn the history...
Read More...
Want a new email signature? (ShorterSigs)
Sunday, February 18, 2007 10:49 AM
ShorterSigs is a new service from Thycotic Software which solves the problem of communicating relevant contact information (and even your photo!) without cluttering up your email messages. This is just what every techie needs whether posting to forums, newsgroups or just a friendly chat among your peers. Here is my public ShorterSig: http://shortersigs.com/50454T3F7R3N...
Read More...
More Posts
Next page »
Go
This Blog
Home
Contact
Links
Tags
.NET
.NET User Groups
Agile
ASP.NET
Blogging
Code Camp
Continuous Integration
Extreme Programming
Fun
General Software Development
ISV
Java
Microsoft DevDays
Microsoft Partner
Open Source
Pair Programming
PDC
PghDotNet
Refactoring
Remote Scripting
Security
Software Development
TDD
TechEd
Test Driven Development
Navigation
Home
Blogs
Archives
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