[Y-devel] suggestions

Mark Thomas mark at www.y-windows.org
Wed Mar 17 00:13:38 GMT 2004


On Fri, 12 Mar 2004, Augie Fackler wrote:

> > <snip>
> > * Please agree on a single style as far as C source code is concerned.
> > I can see some doubly indented loops (one tab for { or } and another
> > for the code. As Y grows this will be necessary. I 'll vote for linux
> > kernel style.
>
> I too vote for linux kernel style.
>

Vote?!  What is this, some kind of democracy?!   :p

The style I use is GNU style with identifiersWithoutUnderscores and no
tabs anywhere in sight.

You can get the right indenting using:

  indent -gnu -nut

It should be noted that throughout the code I have put spaces around ->
operators.  This is wrong, and the spaces should be removed when code is
modified.  (I'll tidy it up one day).

Regards,

  Mark.
-- 
|| Mark Thomas
|| efaref.net
||
|| Efficiency is a highly developed form of laziness.



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved