Month: September 2011

  • Logging Levels

    Trace/Verbose Use this logging level to help you develop or find bugs in something you’re currently working on, and when the information being logged is not useful once the current task is done. So, trace logging should usually be removed when the task is done, which often means that it should not be committed. Pair…

  • A system for getting the most out of “TODO” comments in code

    Annotating code with “TODO” can help remind us what code needs attention. It’s easy, however, for them to build up, get out of hand, and no longer be useful. Below is a system I came up with to keep TODOs useful. Some of what I like about it are that: It is based on the…