You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Ross Gardler <rg...@apache.org> on 2005/07/26 12:27:18 UTC

Use of TODO and FIXME

I'd just like to clarify the use of TODO and FIXME tags in our source 
code. This is only really relevant to Java code created with Eclipse as 
it often creates TODO tags whilst in XSL and the like we only really use 
FIXME tags.

A TODO is something that *should* be done but does not need to be done 
for the code to be considered complete. A TODO may therefore include 
potential refactorings. A FIXME on the otherhand is something that 
should be done before the code is complete. It is usually used as a 
quick placeholder when testing a possible solution, for example:

try {
   do something
} catch (Excpetion e) {
   // FIXME: handle possible errors gracefully
}

Ross