From owner-freebsd-chat Tue Jan 23 2:34:18 2001 Delivered-To: freebsd-chat@freebsd.org Received: from mail48.fg.online.no (unknown [148.122.161.48]) by hub.freebsd.org (Postfix) with ESMTP id 8128837B6A0 for ; Tue, 23 Jan 2001 02:34:00 -0800 (PST) Received: from online.no (ti01a05-0189.dialup.online.no [130.67.6.61]) by mail48.fg.online.no (8.9.3/8.9.3) with ESMTP id LAA07233 for ; Tue, 23 Jan 2001 11:32:38 +0100 (MET) Message-ID: <3A6D5B2D.F0AEE70C@online.no> Date: Tue, 23 Jan 2001 11:21:33 +0100 From: Tore Lund X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-chat@FreeBSD.ORG Subject: Re: C style continued.... (Craig and Terry) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jonathon McKitrick wrote: > > Craig, you answered my question by at least legitimizing what I learned > I like the Allman style, because the braces don't get lost, and because > the logical loops and forks are readily evident. And I don't believe the > screen real estate problem is really an issue any more. Agree, and if it really were a problem, one ought to write: if (0 == i) { foo(i); bar(i); } Bingo, two lines saved! I am not suggesting this in earnest, of course, but it does seem somewhat inconsistent to collapse the upper blank line only. -- Tore To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message