[plt-scheme] Comments on an alternate syntax for let?
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.
http://download.plt-scheme.org/doc/372/html/swindle/base-doc.html#5