Re: GNOME programming style standards?
- From: Mark Galassi <rosalia cygnus com>
- To: Michael Robinson <robinson netrinsics com>
- Cc: gnome-devel-list gnome org
- Subject: Re: GNOME programming style standards?
- Date: Wed, 7 Apr 1999 23:30:52 +0200 (CEST)
Michael> A standard brace style would have prevented this bug, and
Michael> a standard indentation style would have made it obvious.
There is already a GNU standard for such things, you can find it in
the GNU coding standards.
It's non-binding (though I guess nothing is all that binding), but it
might be nice to use in gnome-libs.
In any case, I agree that putting braces even for one-line blocks is
the only way to go: doing otherwise invites disaster as other people
add other lines of code to that block. When I come across code that
does not use braces, I sometimes add them.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]