How to Teach Python "Variables"
Aurélien Campéas
spamless.aurelien.campeas at free.fr
Sun Nov 25 14:09:59 EST 2007
none a écrit :
> Hello,
>
> IIRC, I once saw an explanation how Python doesn't have "variables"
> in the sense that, say, C does, and instead has bindings from names to
> objects. Does anyone have a link?
>
> Thanks,
>
> Ami
That's something I've often heard and I don't get it. Somehow I don't
understand how C variables are not like python bindings (the differences
being that C variables are statically typed and completely disappear at
run-time; are these differences important enough to warrant such a shift
in terminology ? (yes there are some other differences, but then the
question is asked in a context of pedagogy, where the audience is
introduced to the basics))
I mean : aren't C variables also bindings from names to objects ? Or what ?
More information about the Python-list
mailing list