V viewpoints DOI:10.1145/2076450.2076461 Article development led by queue.acm.org George V. Neville-Neil Kode Vicious wanton acts of Debuggery Keep your debug messages clear, useful, and not annoying. Dear KV, Why is it that people who add logging to their programs lack the creativity to differentiate their log messages? If they all say the same thing for example, DEBUG it is difficult to tell what is going on, or even why the previous programmer added these statements in the first place. suffering from similarity Dear suffering, Undifferentiated noise coming from a program is like the sound of fingernails on a blackboard: it is both annoying and useless and generates in the listener an instinctive need to make it stop violently, if necessary. Of course, no sane programmer adds identical debug statements in one instance. All software projects last longer than their original designers think they should. As with many of the problems that plague long-lasting software projects, debug statements accrete like barnacles on the bottom of a boat. And just like barnacles, they have to be scraped off from time to time. People with a modern, Orwellian bent call this refactoring ; I prefer to call it cleaning up the
/lp/association-for-computing-machinery/wanton-acts-of-debuggery-TQMF5o0261