From owner-freebsd-hackers Tue May 28 15:10:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA06001 for hackers-outgoing; Tue, 28 May 1996 15:10:06 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA05895; Tue, 28 May 1996 15:09:50 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id KAA06869 ; Tue, 28 May 1996 10:46:37 -0700 Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with SMTP id KAA26693; Tue, 28 May 1996 10:46:35 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0uOSmp-000QYRC; Tue, 28 May 96 19:42 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id TAA27032; Tue, 28 May 1996 19:29:50 +0200 Message-Id: <199605281729.TAA27032@allegro.lemis.de> Subject: Re: Indentation styles To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 28 May 1996 19:29:49 +0200 (MET DST) Cc: hackers@freebsd.org (FreeBSD Hackers), chat@freebsd.org (FreeBSD Chat) In-Reply-To: <20757.833304229@time.cdrom.com> from "Jordan K. Hubbard" at May 28, 96 10:23:49 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard writes: > >> 8 is too much but we're stuck with it. There is something to be said >> for the discipline required to minimise nesting. Don't right code like >> this: > > Or you could be entirely heretical, like me, and go to 4 column tabs and > 120 column formatting. :-) > > I used to be an 80 column / 8 column tabstop kinda guy right up until > about a year ago, when I underwent a sea change and decided that if > programming styles could change radically in response to increasing > memory and disk resources, then it could damn well change in response > to the bitmap display revolution. :-) At 120 columns, I now have much > more room to display text, not needing to chop complex expressions > into multi-line unreadability or make 72 column text (for output) with > crap around it much more difficult to format. This isn't really technical any more--let's move it to chat. I suppose I shouldn't be saying this, because I wanted my suggestion to be independent of my own position, but I suppose it's relevant, so here goes: I started indenting my Algol 60 programs with 6 character tabs, because that's what the program drums on the 029s had set. It didn't take me long to get down to 5, and I've been decreasing ever since. I'm now down to 2, and I think that's as much as anybody can stand. In the early 70s, when working for Tandem, I found myself forced to limit my column width to 107 or 108, because that's all Tandem's TAL compiler could stand. I haven't really changed that one: my xterms are still 110 characters wide, and out of deference to people who still run 80x2[45], I haven't changed. > I also realize that this is going to be a highly unpopular position to > take in these comparatively early days of GUI technology, so be it - > just consider me 3-4 years ahead of my time on this issue. :-) I'd say that any position on indentation is going to be unpopular somewhere. Now these damned hanging {s... Greg