Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 23:19:07 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Greg 'groggy' Lehey <grog@FreeBSD.org>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Luigi Rizzo <luigi@FreeBSD.org>, FreeBSD Chat <chat@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/netinet ip_fw.c
Message-ID:  <3CDF5ADB.B1EF69D@mindspring.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> <20020513113450.C8222@wantadilla.lemis.com> <20020513021808.GA2180@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar wrote:
> On Mon, May 13, 2002 at 11:34:50AM +0930, Greg 'groggy' Lehey wrote:
> > > 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.
> 
> Precisely. It's just as silly.

The original argument was that a tab took one byte to store, and four
spaces took four bytes to store, so in any average program, you were
adding an average of 1.5 bytes of storage, per line, and if you wanted
to see 4 character tabs, you could do that by setting the tab stops on
your terminal to 4 instead of 8.  The sampe people tend to get anal
about putting "{" below the "if", and trailing spaces on lines (apart
from the tools arguments aginst both practices, which are usually lost
on EMACS geeks...).

Not as much of a problem as it used to be, in the days of 160K floppies.

-- Terry

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




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