tough-to-explain Python

kj no.email at please.post
Tue Jul 7 23:18:53 CEST 2009


In <mailman.2796.1246997332.8015.python-list at python.org> Chris Rebert <clp2 at rebertia.com> writes:

>You might find the following helpful (partially):
>http://effbot.org/zone/call-by-object.htm


Extremely helpful.  Thanks!  (I learned more from it than someone
who will teach the stuff would care to admit...)

I had not realized how *profoundly* different the meaning of the
"=" in Python's

  spam = ham

is from the "=" in its

  spam[3] = ham[3]

So much for "explicit is better than implicit"...


And it confirmed Paul Graham's often-made assertion that all of
programming language design is still catching up to Lisp...

kj



More information about the Python-list mailing list