On Thu, Jan 28, 2010 at 8:57 PM, Steve Howell <showel...@yahoo.com> wrote:
> --- On Thu, 1/28/10, Josiah Carlson <josiah.carl...@gmail.com> wrote:
>> [...] in the decade+ that I've been using
>> Python and
>> needed an ordered sequence; lists were the right solution
>> 99% of the
>> time [...]
>
> What do you think of LISP, and "car" in particular (apart from the stupidly 
> cryptic name)?

Apples and oranges.  Lisp lists are really stacks, and are analogous
in Python to...
lisp_list = (item1, (item2, (item3, (item4, ()))))
lisp_car, lisp_cdr = lisp_list

In many typical uses of lisp lists, car/cdr are used as a replacement
for the equivalent of iteration in other languages.

 - Josiah
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to