+----[ 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 |a...@theinternet.com.au|Specialist To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message