Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 39836 invoked by uid 500); 21 Apr 2000 13:17:13 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 39793 invoked from network); 21 Apr 2000 13:17:05 -0000 Message-Id: <200004211316.XAA13857@silk.apana.org.au> From: "Brian Havard" To: "new-httpd@apache.org" Date: Fri, 21 Apr 2000 23:16:53 +1000 (EST) Reply-To: "Brian Havard" Priority: Normal X-Mailer: PMMail 2.10.1999 for OS/2 Warp 4.00 In-Reply-To: <4.3.1.2.20000421084856.00af9830@pop.ma.ultranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: coding style == religion X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, 21 Apr 2000 08:59:47 -0400, Greg Marr wrote: >Oh great, so Brian thinks my practices are ugly, Greg thinks I should >be considered insane, and I drive Ben nuts. Well, I think you're insane too but I'm more diplomatic than Greg :) >There's nothing like a >good religious war over coding styles. It's almost as bad as vi >fanatics vs. emacs fanatics, or Unix vs. Windows. :) > >My personal style preference is no space after if, for, and while, >spaces around all math/logic operators, ((expr) && (expr)) for >non-trivial exprs, for clarity, no space between a function name and >the paren, and return(value); or just return;. I also put braces on >separate lines, lined up with the level of the code it contains, and >never use tabs. Gee, I wonder how many people's religions that >violates. I think you've got pretty much everyone covered there. Everyone has their own personal tastes, that's why we have a style guide. I have my own preferences (EG I prefer size 2 indents) but I'm willing to follow the established standards when working on a group project and expect others to do likewise. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------