Subject: Re: Learning LISP?
From: Erik Naggum <erik@naggum.no>
Date: 1998/12/02
Newsgroups: comp.lang.lisp
Message-ID: <3121553476188261@naggum.no>

* daveva#earthling.net (Dave Vandervies)
| Can you imagine typing (first (first (rest (first (rest (first foo))))))
| 50 times?

  how about (first (second (second (first foo))))?

  in case you're referring to a tree, how about (tree-node foo 0 1 1 0)?
  note that the order of the arguments is reversed from the above code.
  the location in a tree is specified with the number of CDRs before a CAR.
  other location specifications may be more useful in a given case.

| Of course, code that does something like that would have to be documented
| well enough for the average programmer to easily understand what it's
| doing and why, since at the moment I'm more interested in maintainability
| than job security.  >:]

  funny how that actually improves job security...  :)

#:Erik
-- 
  The Microsoft Dating Program -- where do you want to crash tonight?