Ratcheting

Some tasks in software development are mundane such as formatting and code conventions. Where possible tooling should take away some of this pain, however sometimes you need a developer to take on a task that requires a great deal of time and/or effort to complete. Tooling will only get you so far.

An example of this would be declaring that all projects build and compile with zero warnings. I've tried this in the past after a team retrospective. We had hundreds of errors per project, covering about fifteen projects at the time. Spending several weeks of development time resolving these would not have be fun nor financially viable. However we really wanted to implement this change

Solution

After a month or so all the projects reported zero warnings. Going forward the test was modified so that new projects added to source control would be checked and have the same tests run against them, meaning no new projects can have a warning count greater than zero.

It turns out this has been documented before - its called Ratcheting. While I didn't know it at the time its nice to have a name to use when describing this technique.