Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 18:33:46 +1000 (EST)
From:      Andrew Kenneth Milton <akm@zeus.theinternet.com.au>
To:        dillon@apollo.backplane.com (Matthew Dillon)
Cc:        julian@whistle.com, jb@cimlogic.com.au, jdp@polstra.com, bde@zeta.org.au, current@FreeBSD.ORG
Subject:   Re: btokup().. STYLE(9)
Message-ID:  <199901280833.SAA14617@zeus.theinternet.com.au>
In-Reply-To: <199901280728.XAA98161@apollo.backplane.com> from Matthew Dillon at "Jan 27, 99 11:28:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901280833.SAA14617>