Browse by Tags

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 »