From owner-freebsd-current Thu Jan 28 00:34:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA08253 for freebsd-current-outgoing; Thu, 28 Jan 1999 00:34:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zeus.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA08245 for ; Thu, 28 Jan 1999 00:34:28 -0800 (PST) (envelope-from akm@zeus.theinternet.com.au) Received: (from akm@localhost) by zeus.theinternet.com.au (8.8.7/8.8.7) id SAA14617; Thu, 28 Jan 1999 18:33:46 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <199901280833.SAA14617@zeus.theinternet.com.au> Subject: Re: btokup().. STYLE(9) In-Reply-To: <199901280728.XAA98161@apollo.backplane.com> from Matthew Dillon at "Jan 27, 99 11:28:20 pm" To: dillon@apollo.backplane.com (Matthew Dillon) Date: Thu, 28 Jan 1999 18:33:46 +1000 (EST) Cc: julian@whistle.com, jb@cimlogic.com.au, jdp@polstra.com, bde@zeta.org.au, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +----[ Matthew Dillon ]--------------------------------------------- | | :I think that style(9) should be modified to include | :"Parenthesis may be used to improve the readbility of complex | :expressions even if not strictly required." | :instead of the stupid phrase presently there. | :also: | :"Braces around code blocks should be allowable even when not strictly | :needed, for the purpose of readbility." | : | :The aim is to produce readble maintainable code, not to save bytes in | :sourcecode! | | I agree completely. I've already gotten into the habit of added | braces when conditonal expressions exceed one line, even though there | may be only one statement. Otherwise the code is just too unreadable. Is there an ident style for (x)emacs to enforce/promote this style? A set of macros for the *macs family that conforms to whatever style(9) is for that day would be pretty neat. I don't know about coral et. al or about how extensible they are but, gurus for those other editors could also contribute configs for a port? Just a thought. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | Milton ACN: 082 081 472 | M:+61 416 022 411 |72 Col .Sig PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|Specialist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message