From owner-freebsd-arch Mon Oct 22 23:57:48 2001 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id B516A37B406; Mon, 22 Oct 2001 23:57:43 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f9N6vfV48163; Tue, 23 Oct 2001 00:57:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f9N6ve716142; Tue, 23 Oct 2001 00:57:40 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110230657.f9N6ve716142@harmony.village.org> To: Julian Elischer Subject: Re: Style Wars Cc: Jonathan Lemon , John Baldwin , Peter Wemm , arch@FreeBSD.ORG In-reply-to: Your message of "Mon, 22 Oct 2001 23:36:58 PDT." <3BD5100A.2D09B278@elischer.org> References: <3BD5100A.2D09B278@elischer.org> <20010928233146.8959B3809@overcee.netplex.com.au> <20010928185913.U9056@prism.flugsvamp.com> Date: Tue, 23 Oct 2001 00:57:40 -0600 From: Warner Losh 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 In message <3BD5100A.2D09B278@elischer.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; : : : This approximates 1b). : : If I don't hear a large outcry (it was a loud 'yes' last time but I didn't : see an agreement that it should be done) then I'd like to make that change. That was the approximate consensus that we had. I think as such, it should be committed w/o revisting the discussion :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message