From: Ruth Ivimey-Cook (ruthc_at_email.domain.hidden)
Date: 2000-12-18 23:49:09
<html>
At 21:33 18/12/00 +0000, you wrote:<br>
<blockquote type=cite cite>Some things are complex and need a lot of code. occam encourages a<br>
simple sparse - and thus elegant - style. If code is long, one's<br>
attention is drawn to that. If it is unavoidable, start folding<br>
heavily, if only to make it understandable. Dense impenetrable code is<br>
encouraged by C and friends; unfortunately there are still people who<br>
think it macho to write such stuff. Despite officially deprecating such<br>
things.</blockquote><br>
<br>
I know many people at ARM who hate adding an extra blank line to C programs, even when that goes against the coding standards, because they like having whole algorithms onscreen at a time. I would not underestimate the number of people who like dense code, even though us poor mortals have trouble maintain it sometimes :-)<br>
<br>
Occam is only bad in a few places: in some ways the indenting style saves space. Mostly it's the requirememt for TRUE/SKIP, and sometimes the rather rigid line-break rules, that cause irritations.<br>
<br>
Would it be possible to create an occam that had the simple line-break rule:<br>
<br>
You can break lines at any position that whitespace is valid. The remnant must be indented further than the maximum indentation at that point.<br>
<br>
i.e.<br>
<br>
VAL x IS<newline><br>
<4spacesc>y:<br>
<br>
<br>
Or am I forgetting something (quite likely)?<br>
<br>
Ruth<br>
</html>
This archive was generated by hypermail 2.1.7 on 2004-10-31 20:03:56 GMT
© Copyright WoTUG
All rights reserved