From owner-freebsd-chat Sun May 12 19: 4:58 2002 Delivered-To: freebsd-chat@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id C2BC337B401; Sun, 12 May 2002 19:04:52 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7FF3681066; Mon, 13 May 2002 11:34:50 +0930 (CST) Date: Mon, 13 May 2002 11:34:50 +0930 From: Greg 'groggy' Lehey To: Marcel Moolenaar Cc: Garrett Wollman , Luigi Rizzo , FreeBSD Chat Subject: Re: cvs commit: src/sys/netinet ip_fw.c Message-ID: <20020513113450.C8222@wantadilla.lemis.com> References: <200205122043.g4CKhod56192@freefall.freebsd.org> <20020512230017.GB4770@genius.tao.org.uk> <20020512163100.A26082@iguana.icir.org> <200205122343.g4CNhP7X023643@khavrinen.lcs.mit.edu> <20020513092718.A13919@wantadilla.lemis.com> <20020513012619.GA1967@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020513012619.GA1967@athlon.pn.xcllnt.net> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [moved to -chat] On Sunday, 12 May 2002 at 18:26:19 -0700, Marcel Moolenaar wrote: > On Mon, May 13, 2002 at 09:27:18AM +0930, Greg 'groggy' Lehey wrote: >> On Sunday, 12 May 2002 at 19:43:25 -0400, Garrett Wollman wrote: >>> < said: >>>> I know, >>>> but >>>> sometimes >>>> it is >>>> unavoidable >>>> to move >>>> to 4 >>>> spaces. >>> >>> If the code is >>> lined up down >>> the right hand >>> side of the >>> screen, then >>> it almost >>> certainly >>> needs to be >>> refactored -- >>> not >>> reindented! >> >> If the code is lined up down the right hand side of the screen, >> then maybe it's the screen which needs to be remade, not the >> code. Why should we still live in the shadow of punched cards? > > The argument that code looks better or is more readable when > indented with 4 spaces as compared to 8 spaces can be applied > recursively and transitively to yield that code looks better > or is more readable when not indented at all. Since this is > obviously a silly statement, I can only conclude that the whole > reasoning is flawed. The argument that code looks better or is more readable when indented with 8 spaces as compared to 4 spaces can be applied recursively and transitively to yield that code looks better or is more readable when indented an infinite amount. Since this is obviously an even more silly statement, I can only conclude that the whole metareasoning is flawed, or that 4 spaces are better than 8. > The eternally recurring style(9) debate is the other dead givaway > that it's not solving anything, but rather creates problems. I'm not really attacking style(9) here (I'll reserve that for some other time :-), I'm just pointing out that there are alternative arguments. Times change. For example, many programming languages *do* have no indentation. > \begin{brainfart} > CRA n. > Compulsive Reintenders Anonymous. A support group > for people with an unnatural tendency to reindent > anything not indented with their favorite spacing. > \end{brainfart} > > ;-) > > (sorry, couldn't resist and I'm probably going to be > very sorry I put it here) Especially when people point out that it was done with the best of (re)intentions? :-) Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message