David N. Welton <email@example.com> wrote:
| Rob Warnock <nobody@localhost> wrote:
| >| David N. Welton <firstname.lastname@example.org> wrote: [with indenting fixed --rpw3]
| I saw someone else use more C like indenting, and I like the idea.
Well no-one else on comp.lang.scheme or comp.lang.lisp "likes" it
[and I'm being polite -- opinions tend to get much more violent
than this even]. It's a clear mark of someone who programs in C
and hasn't yet come to terms with prefix notation. Many people
won't even bother to take the time to read an article containing
code formatted in C style.
| makes the code more readable even when I'm not using emacs
Learn to read & indent in proper Scheme (or Lisp) style, where
programmers read the *indenting*, not opening parens and *especially*
not the closing parens (which are just line noise and should always
be bunched up on the first possible line).
And you don't have to use Emacs -- I code with "vi" (nvi-1.79, to be
exact), others use "vim" or similar. All support matching-paren flashing
and jumping, and adequate auto-indenting (though "vi" sometimes needs
a little manual assistance).
["Vi" reformatting tip: Set the shiftwidth to 1 (":se sw=1"), then put
the cursor on an open paren and type "<%" or ">%" to shift the entire
s-expr left or right one space (no matter how many lines it spans).
Type "d%" to delete an entire s-expr. "P" to paste it. Etc.]
Rob Warnock, 30-3-510 <email@example.com>
SGI Network Engineering <http://www.meer.net/~rpw3/>
1600 Amphitheatre Pkwy. Phone: 650-933-1673
Mountain View, CA 94043 PP-ASEL-IA
[Note: firstname.lastname@example.org and email@example.com aren't for humans ]