Added by Thomas Ferris Nicolaisen, last edited by Thomas Ferris Nicolaisen on Feb 02, 2010  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

This page is a loose collection of notes, vaguely based on Robert C. Martin's talks about software craftmanship (there also a book about it). The idea is that we find some common ethichs that are industry-wide, and can help us reinforce software quality into being the norm instead of being as rare as it is today. The typical metaphor is drawn to doctors who needless to say have to wash their hands between in and out of surgery (here are ten medical commandments as an example). The same should apply to programmers testing their code between commits, for instance.

Note that we try avoiding duplicating The Agile Manifesto, agile practices and the [architecture:Agile and Software Architecture] pages.

In general..

  • Do not create code that is hard to change.
  • Keep your code clean.

Before you start..

  • Do not code without proper experience, training and/or education, or make sure you are being supervised.
  • Do not code without sufficient [architecture].

Before checking in..

  • Always leave the code cleaner than when you found it.
  • Sign your code.
  • Seek a second opinion and get your code reviewed.

Before delivering functionality..

  • Do not release code that you are not proud of.
  • Do not release code that is not tested.

Great quote:

I'm not a truly great developer (I know this is true because I've worked with some) but I'm not a moron either (worked with some of them too) so if I'm going to make this kind of misstep, a whole lot of other people will too.

From http://www.tbray.org/ongoing/When/200x/2008/08/22/Build-One-to-Throw-Away