Broken Windows

Broken Windows

From The Pragmatic Programmer:

"One broken window, left unrepaired for any substantial length of time, instills in the inhabitants of the building a sense of abandonment - a sense that the powers that be don't care about the building. So another window gets broken. People start littering. Graffiti appears. Serious structural damage begins. In a relatively short space of time, the building becomes damaged beyond the owner's desire to fix it, and the sense of abandonment becomes reality."

I keep getting the feeling in my current project that all of the // HACK comments are like broken windows. Near all of those // HACK comments, but not part of the described HACK, is some really shitty code.

Here's my feature request for future versions of Visual Studio: time sensitive // HACK comments. Meaning, after a customizable amount of time, those comments actually cause the project to start failing to build. Stop the broken windows!

 
Author: , 0000-00-00