Subject: Re: distinction?
From: Erik Naggum <>
Date: 2000/12/05
Newsgroups: comp.lang.lisp
Message-ID: <>

* Paolo Amoroso <>
| Never mind, I have just seen Erik's code. Thanks anyway,

  Hm.  My code is slightly different from the algorithm that Dorai
  described.  His implementation would use a cons cell to hold both the
  head and the tail, instead of using two variables, and is thus
  slightly more complex, and would indeed use two extra cons cells, but
  it could also return it as a single object.  That has some value, but
  it would at that point better be described as a queue, not just a
  simple list-creating software pattern, but this may just be one of
  those reasons why software patterns are sometimes useful: It is too
  hard to make this a general idea except in those cases where it is
  naturally made into a macro as far as you can type it.

  "When you are having a bad day and it seems like everybody is trying
   to piss you off, remember that it takes 42 muscles to produce a
   frown, but only 4 muscles to work the trigger of a good sniper rifle."
								-- Unknown