Tag Archives: coding standards

Coding Style: Terse vs Verbose

One coding style issues that causes many arguments is the distinction between the Terse/Elegant/Succinct style and the Verbose/Legible/Debuggable style. As usual, each side explains that their style is the only rational choice and that the other approach is obviously wrong. First, let’s look at the two styles to see what they say. In order to… Read More »

Code Comment Guidelines

In my last post (Thoughts on Code Comments), I described two opposing camps that argue about code comments. Like much of the craft of programming, the commenting of code is too complicated for a simple set of rules. In this post, I will describe a set of guidelines that I’ve adopted over the years. These… Read More »

Review of C++ Coding Standards

C++ Coding Standards Herb Sutter and Andrei Alexandrescu Addison-Wesley, 2005 For many programmers, the term coding standard generates a gut-level response. We all know that someone is going to be pushing the one, true brace style or the proper way to indent code. This subject is probably the best way to generate instantaneous rebellion among… Read More »

Coding Standards

At different times in the past I’ve either agreed with or fought the application of coding standards. Recently, I’ve been looking at the subject again. In a wonderful case of timing I stumbled across an ad in CUJ (10/2004) for CodingStandard.Com. They have a coding standard for C++ that seems to cover much of what… Read More »