[racket-dev] P4P: A Syntax Proposal

From: Joe Marshall (jmarshall at alum.mit.edu)
Date: Fri Jul 30 12:40:10 EDT 2010

On Fri, Jul 30, 2010 at 5:30 AM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
>
> My experience teaching Scheme beginners is that Lisp-style prefix for
> arithmetic is NOT a problem; they get the hang of it quickly.  It's
> when things start to nest and parens start to add on that they start
> to get frustrated.  (COND is a special pet peeve.)

If I dig through the remainder of my memory, I recall that I found COND just
a tad tricky.  It was LET that I had problems with.  I used to write
out the expansion
((lambda (foo bar) body) (baz x) (quux y)) and then `unexpand' it
(let ((foo (baz x))
      (bar (quux y)))
   body)

-- 
~jrm


Posted on the dev mailing list.