Subject: Re: basic question (probably w/ no good answer)
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 2000/04/08
Newsgroups: comp.lang.lisp
Message-ID: <8cmckp$17gqp$1@fido.engr.sgi.com>
Erik Naggum  <erik@naggum.no> wrote:
+---------------
| * 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 also allows the garbage collection of the values of the bindings sooner...


-Rob

-----
Rob Warnock, 41L-955		rpw3@sgi.com
Applied Networking		http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		PP-ASEL-IA
Mountain View, CA  94043