From owner-freebsd-arch Tue Oct 23 5:22:48 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 9B2F237B401; Tue, 23 Oct 2001 05:22:46 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 11A6C14C2E; Tue, 23 Oct 2001 14:22:44 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Julian Elischer Cc: Jonathan Lemon , John Baldwin , Peter Wemm , arch@FreeBSD.ORG, Warner Losh Subject: Re: Style Wars References: <20010928233146.8959B3809@overcee.netplex.com.au> <20010928185913.U9056@prism.flugsvamp.com> <3BD5100A.2D09B278@elischer.org> From: Dag-Erling Smorgrav Date: 23 Oct 2001 14:22:44 +0200 In-Reply-To: <3BD5100A.2D09B278@elischer.org> Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Julian Elischer 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