From owner-freebsd-arch Tue Oct 23 9:31:43 2001 Delivered-To: freebsd-arch@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id C4FE037B401; Tue, 23 Oct 2001 09:31:39 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9NGVdM31618; Tue, 23 Oct 2001 09:31:39 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 41177380A; Tue, 23 Oct 2001 09:31:39 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: Julian Elischer , Jonathan Lemon , John Baldwin , arch@FreeBSD.ORG, Warner Losh Subject: Re: Style Wars In-Reply-To: Date: Tue, 23 Oct 2001 09:31:39 -0700 From: Peter Wemm Message-Id: <20011023163139.41177380A@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Julian Elischer writes: > > When declaring variables in structures, declare them sorted by use, th en > > 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! Ditto. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message