> in which case all attempts to fit it into 80 column lines are
> contortions that serve no other purpose than to distract while
> reading but particularly while writing.

You're confusing lines and statements. A statement can contain multiple lines.

Whether a statement should go on multiple lines or not is only loosely
related to length.

        a = function(a fairly complex expression, another expression);

That fits on one line, but I'm inclined to write it as:

        a = function(
                a fairly complex expression,
                another expression
        );

Simply because it's easier to read and provides redundancy and documentation.

Possibly my Lisp is showing.

> Any code formatting rule that cannot be formalised so that
> software can do it is a bad formatting rule;

That's fine, documentation isn't "a formatting rule". You might as well say
the same thing about comment and function name rules.

Reply via email to