why cannot assign to function call

rurpy at yahoo.com rurpy at yahoo.com
Fri Jan 9 22:19:56 EST 2009


Rhodri James wrote:
> On Sat, 10 Jan 2009 00:21:27 -0000, <rurpy at yahoo.com> wrote:
>> IIRC, Someone posted here that his experience was
>> that 12-year old kids (presumably without programming
>> experience) had no problem with Python and references
>> when described as "names given to an object".  (From
>> memory, can't locate the post right now.)
>
> 'Twas I.  It was a rebuttal to your point that Python's assignment,
> parameter passing and data model is somehow inherently more difficult
> to wrap your brain around than that of other languages.  It isn't; if
> anything it seems to be easier.

That was and is not my point.  My point was that there
seems to be an observably significant number of people
who are surprised by the way Python assignment works.
I hypothesized that this was due to their experience with
other languages, *not* that Python is somehow "inherently
more difficult to wrap your brain around", and that the
response, "Python assignments are the same as in those
other languages" is insufficient.



More information about the Python-list mailing list