[Glade-devel] Coding style

Damon Chaplin damon@karuna.uklinux.net
Fri, 17 Dec 2004 11:34:12 +0000


On Thu, 2004-12-16 at 21:52, Tristan Van Berkom wrote:
> On Thu, 16 Dec 2004 21:31:10 +0000, Archit Baweja
> <bighead@users.sourceforge.net> wrote:
> [...]
> > Same for some while loops etc.
> > 
> > I know its a little thing, but I'd recommend following one style, that
> > too the old one. Keeping the coding style consistent is a good thing.
> 
> Argh, 
>    we went through all that a few months ago during the project
> revival, the HACKING file has a note about that.
> 
> The style is:
> =========
> if (...)
> {
>     /* ... */
> }
> =========
> 
> The other style (still present in some areas of the code) is
> being removed slowly, patch by patch.

I can't believe you did that. The old style is the one used throughout
GNOME. There was absolutely no need to change it.

Damon