Tuesday, November 30, 2010

Stupid commas (if lisp ran the world...)

Does it give me away as a programmer that I think commas would be much easier to teach if we used parentheses instead?

And am I peculiar in my absolute conviction that commas basically are parentheses, where any nested parentheses (commas inside commas or commas at a sentence edge) get collapsed and disappear?

Here's a student sentence I'm giving feedback on:
Although Desdemona has no thoughts for anyone but her beloved Othello, he mistakes the kindness she naturally bestows on everyone, as a particular fondness for another man, Cassio.
In my mind, there are two acceptable revisions of the basic comma error in this sentence:

Although Desdemona had no thoughts for anyone but her beloved Othello, he mistakes the kindness she naturally bestowed on everyone as a particular fondness for another man, Cassio.
or
Although Desdemona has no thoughts for anyone but her beloved Othello, he mistakes her kindness, which she naturally bestows on everyone, as a particular fondness for another man, Cassio.
But what I'm really seeing in my head is that this:
((Although Desdemona had no thoughts for anyone but her beloved Othello) he mistakes the kindness she naturally bestowed on everyone) as a particular fondness for another man (Cassio))
should become this:
((Although Desdemona had no thoughts for anyone but her beloved Othello) he mistakes the kindness (which she naturally bestowed on everyone) as a particular fondness for another man (Cassio))
or this:

((Although Desdemona had no thoughts for anyone but her beloved Othello) he mistakes the kindness she naturally bestowed on everyone as a particular fondness for another man (Cassio))
Of course, as with lisp, this would be much clearer with a little indentation
(
(Although Desdemona had no thoughts for anyone but her beloved Othello)
he mistakes the kindness
(which she naturally bestowed on everyone)
as a particular fondness for another man
(Cassio)
)
Is it just experience with lisp that makes me think this way, or does this go on in everyone's head?

No comments: