I guess people put todo’s in their code for different reasons, it can be lazyness (I’ll write this hard/boring piece of code later), unclear requirements or maybe a debate is needed before a certain choice can be made.

Be that as it may, some todo’s need to be solved more urgently than others: “TODO: implement database logic” could be more urgent than “TODO: remove obsolete method”, but removing an obsolete method will probably be easier to do, so it might make sense to do it right away.

Visual Studio 2003 gave you a nice list of all the todo’s in your solution, but for some reason Visual Studio 2005 only does this for currently opened files. In the project I am current working on, we wanted a clear report of all todo’s in our code to make sure that they are solved as soon as possible. Since we already have a CruiseControl.NET server running, we decided to have our continuous integration build generate the TODO report for us. The samples in this post are valid for CruiseControl 1.1.

Continue Reading »