Can I reformat your code?
Paul Lussier
pll@mclinux.com
Wed, 25 Jul 2001 13:36:27 -0400
In a message dated: 25 Jul 2001 11:09:58 CDT
Rob Browning said:
>This is also a critical formatting bit in order for some tools to work
>right. Most notably for me, "C-x 4 a" in emacs
[...]
> i.e. the tool expects
>
> int
> foo(...)
> {
>
>If you have the "{" on the same line as the foo, then it doesn't
>work.
Just $.0035 from someone who doesn't really care, but isn't this
defined in the Gnu Coding Practices? Also, why, would you deviate
from the GCP except in extreme circumstances (like the nesting issue
mentioned earlier).
It seems to me the path of least resistance is to follow a previously
defined set of standards as much as possible. This allows you to
point to an existing document anytime anyone questions what you're
doing, saves you the effort of having to maintain a huge coding
practices document, and prevents debates such as this one, all saving
time and allowing you to do what you do best; write code.
Now, before you flame me too bad, I'm asking these questions out of
pure ignorance. In general, I don't consider myself a programmer,
and am largely unaware of how general development practices work wrt
large projects. (i.e. I'm a sysadmin and all my "development" is
pretty much a singular effort usually in perl :)
I'd like to eventually get more involved in large
project development, so I'm hoping someone can clarify these things
for me.
Thanks :)
--
Seeya,
Paul
----
...we don't need to be perfect to be the best around,
and we never stop trying to be better.
Tom Clancy, The Bear and The Dragon
If you're not having fun, you're not doing it right!