Skip site navigation (1)Skip section navigation (2)
Date:      23 Oct 2001 14:22:44 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Jonathan Lemon <jlemon@flugsvamp.com>, John Baldwin <jhb@FreeBSD.ORG>, Peter Wemm <peter@wemm.org>, arch@FreeBSD.ORG, Warner Losh <imp@harmony.village.org>
Subject:   Re: Style Wars
Message-ID:  <xzpwv1m35rf.fsf@flood.ping.uio.no>
In-Reply-To: <3BD5100A.2D09B278@elischer.org>
References:  <20010928233146.8959B3809@overcee.netplex.com.au> <XFMail.010928165401.jhb@FreeBSD.org> <20010928185913.U9056@prism.flugsvamp.com> <3BD5100A.2D09B278@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@elischer.org> writes:
>      When declaring variables in structures, declare them sorted by use, then
>      by size, and then by alphabetical order.  The first category normally
>      doesn't apply, but there are exceptions.  Try to make the structure
>      readable by aligning the variable names using either one or two tabs
>      depending upon your judgement. Names following extremely long types
>      should be separated by a simple space. i.e. use int^I^Ix; and
>      struct foo^I*x; and struct verylongtypename *bar;

Yes, please!

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpwv1m35rf.fsf>