Received: by taz.hyperreal.com (8.6.12/8.6.5) id JAA06730; Wed, 26 Jun 1996 09:19:01 -0700 Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id JAA06715; Wed, 26 Jun 1996 09:18:49 -0700 Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa00832; 26 Jun 96 17:18 BST Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa05338; 26 Jun 96 16:39 BST Subject: Re: fixes to assist building Apache-1.1b4 on SunOS-4.1, among other To: new-httpd@hyperreal.com Date: Wed, 26 Jun 1996 16:35:06 +0100 (BST) From: Ben Laurie In-Reply-To: <199606261603.MAA03890@hershey.ai.mit.edu> from "Robert S. Thau" at Jun 26, 96 12:03:36 pm X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1560 Message-ID: <9606261635.aa18805@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Robert S. Thau wrote: > > I agree with the point about conserving vertical space... > > ... which is the main reason I prefer K&R brace style (*not* to be > confused with archaic pre-ANSI K&R C *language* features, thank you > very much) to Berkeley: > > if (foo) { > bar; > baz; > } > > simply takes less vertical space than > > if (foo) > { > bar; > baz; > } > > or, worse, > > if (foo) > { > bar; > baz; > } I'd just note that this not offered as an option in my list. The third option is, in fact: if(foo) { bar; baz; } but perhaps I should make that clearer? > > in which the body is indented far enough to be an uncomforable jump for > the eye from the 'if', and also to pose problems if the outer 'if' is > anywhere near the right margin (in which case the 'if' body code itself > inevitably winds up cramped flush against it). Over large functions, > this can easily make the difference between fitting on one screen and > not. > > Regarding finding the actual definition of a function in a sea of > uses, you may have a point... I'll have to think about it. NB there > are numerous 'ctags'-style utilities which address this need --- have > you tried any? Why don't you like them? > > rst -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, URL: http://www.algroup.co.uk London, England.