Subject: Re: basic question (probably w/ no good answer)
From: Erik Naggum <erik@naggum.no>
Date: 2000/04/08
Newsgroups: comp.lang.lisp
Message-ID: <3164150875655283@naggum.no>

* Dave Bakhash <cadet@alum.mit.edu>
| My guess: don't close off the LET, but keep things nested, even
| though those final expressions don't need to be inside the LET.

  my rule of thumb: unless you use a binding form for its progn value,
  i.e., in situations where you may use only one form, move the subforms
  that don't need the bindings out of the binding form.  this makes it
  clear when the scope of the bindings cease to exist, reducing the amount
  of work a reader of the code would have to go through to figure out that
  the bindings _don't_ affect these forms, and it makes it clear that the
  binding form does not return a useful value, but is there for side
  effect.  clues like this can make reading code a lot easier.

  this is likely a matter of some personal taste.

#:Erik