The particular example isn't important, and I don't think it's currently in the public proposal. But what is important, I realized, is that code should be written to facilitate incremental changes, and this interfered with that.
What do I mean?
Here's an example: one of the rules in our coding guidelines is that control blocks must always use curly brackets. That is, don't write code like this:
if (condition)
doSomething();
else
doSomethingElse();
We require that this code be written like this, instead:
if (condition) {
doSomething();
} else {
doSomethingElse();
}
Here's why I don't like the syntax without the curly brackets (at least one of the reasons): it makes it harder to modify the code.
If you want to add an extra line inside the else block, you need to add the line and convert the single statement block into a compound block:
if (condition)
doSomething();
else {
fprintf(stderr, "Debugging doSomethingElse\n");
doSomethingElse();
}
To add one line of code I need to modify three lines! This is a disproportionate amount of work considering the actual change.
In summary, code should be written in a way which encourages incremental changes. If small logical changes require large textual changes, then there's something wrong, either with the tools or the technique.