On 24-08-12 09:38, Antoon Pardon wrote: > On 23-08-12 01:58, Ben Finney wrote: > >> You haven't discovered anything about types; what you have discovered is >> that Python name bindings are not variables. >> >> In fact, Python doesn't have variables – not as C or Java programmers >> would understand the term. What it has instead are references to objects >> (with names as one kind of reference). >> >> The documentation unfortunately calls these references “variables” in >> various places, which IMO compounds the confusion in newcomers >> experienced with other languages. It's best, I think, to reject the idea >> that Python has variables, and think in terms of references instead. >> >> > Why should we reject the idea that python has variables? Python > variables are a lot like scheme or smalltalk variables and I never > heard anyone having a problem considering these languages > having variables. > Never mind. I missed the reactions already dealing with this.
-- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list