[plt-scheme] Comments on an alternate syntax for let?

From: Doug Orleans (dougorleans at gmail.com)
Date: Mon Apr 7 18:04:10 EDT 2008

Neil Van Dyke writes:
 > I never use internal "define" myself (as a matter of preference),

I use internal "define" mostly to define local procedures.  It's less
awkward than "(let ((f (lambda (x) ...))) ...)".  If I were designing a
new "let" I'd allow shorthand syntax: "(let (((f x) ...)) ...)".

I also sometimes use internal "define" to avoid indentation creep, but
usually that's a sign that I should refactor into smaller procedures.

--dougorleans at gmail.com

P.S. Oh wait, I just remembered, swindle's "let" already allows this
shorthand!  But I keep forgetting it exists.

Posted on the users mailing list.