list vs tuple

Douglas Alan nessus at mit.edu
Mon Apr 2 18:55:17 EDT 2001


"deadmeat" <root@[127.0.0.1]> writes:

> Integers being objects unto themselves is.. just.. weird.

It's not really weird at all -- this is how OO languages have behaved
since their nascent arival with LISP in the late 50's.  It's just a
matter of perspective.  If you had been programming in LISP for the
last 40 years and then switched to Pascal, you would think that the
way that Pascal does things is very strange.  The object-sharing model
of variable binding makes complete sense once you are used to it.

|>oug



More information about the Python-list mailing list