Eschew codejunk.
Edward Tufte has this beautiful, powerful concept of chartjunk, visual elements in a chart that contribute noise rather than information. By thinking about charts this way, we make much clearer charts.
I think that the same kind of thinking, applied to code, brings us much cleaner code. Examples include /* getFoo() gets the foo */
-style comments, unnecessary parentheses and braces, excessively-specific variable names, and Hungarian notation warts.
What constitutes chartjunk depends on the team, the environment, and the project - some folks like warts; some environments render code in ways that render certain junk useful (think brace-matching and // end for
comments, for instance); some projects require more extensive commenting to conform with standards or to comprehensively document an API. But when a team has established standards of what chartjunk means for its projects, many decisions get easier, and its code becomes more consistent and more readable.