Thomas Willhalm wrote:
> That's why I let EMACS do the indentation do for me. This results in
> a correct indentation in the sense that it reflects the assignment of
> lines to loops and if statements.
Yes. But once a single maintenance person comes by months or years later
who doesn't...
[SNIP]
> Because of this, I add braces to my multi-line macros. (In C++ I don't
> use multi-line macros at all.)
Right. Wich I also do (when I do it). I also make sure to user parenthesis
around macro parameters in the macro itself also...
But some may not. Especially in large and/or longer-lived projects.
--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.
Post a reply to this message
|