Charles Hixson <charleshi...@earthlink.net> writes:I actually think that one can train oneself to recognize and use
> Analogously, if one learns to read code in a particular way, one finds
> reading code in that way increasingly easy. One who learns the C style
> finds that way easier and more obvious than one who has learned the common
> Lisp style. And vice versa. The problem is, mixing the styles of two
proficiently more than one indentation style, just as one can learn
to use different idioms in more than one human language (or computer
language). When I'm a Lisp programmer, I want to see
(defun map-query-for-effect (function query-expression database)
whereas in C, I'm quite comfortable with:
static void EventLoop(void)
/* Give System and Menu a chance to handle the event */
if (MenuHandleEvent((void *)0, &event, &err))
if (event.eType == frmLoadEvent)
} while(event.eType != appStopEvent);
}Actually, I find that C needs much more whitespace to gain the same
amount of readability, at the loss of terseness. Note also that C
usually nests much less than Lisp, so you get longer but flatter
> Mixed Case, but I didn't find it. Actually, my preferred form is a kindUsing underscores to seperate words is indeed very ugly. That's why
> of Java-ish form, with lots of mixed capitalization. I suppose, however,
> that if I were to use Lisp very long, my search-image would change, and
> then it would seem more reasonable to use underscores to separate words
> rather than mixed case signals. But right now it looks very ugly. As do
no one does it in Lisp: Use hyphens: structure-editor, silly-function,
> Lots of Irritating Single Parenthesis. I believe that there used to be aIt turned out that this functionality belongs in the editor, and not
> dialect of Lisp where one could signal "close all parenthesis back to the
> root" by using a ] character, but that seems to have disappeared. I guess
> that it may have been a bit error prone.
the language. That's why ] will close all outstanding parentheses in
many Lisp modes. This way you get the benefits, without the trouble.
Try to ignore parens, and Lisp will turn into Lots of Indentation
Solves Paren-Proplems. ;)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.