Python variables are bound to types when used?
Aahz
aahz at pythoncraft.com
Wed Oct 19 20:12:49 EDT 2005
In article <pan.2005.10.19.23.23.34.109772 at REMOVETHIScyber.com.au>,
Steven D'Aprano <steve at REMOVETHIScyber.com.au> wrote:
>On Wed, 19 Oct 2005 20:06:53 +0000, Grant Edwards wrote:
>>
>> Python doesn't have variables.
>>
>> Python has objects of various types. You can bind 0 or more
>> names an object.
>
>I frequently use "variable" as a synonym for "name" when talking about
>Python code. Do people think I am wrong to do so?
Wrong? No. Bad idea? Possibly, depending on context. I'm often using
"variable" in casual conversation -- it's hard to break the habit of
thirty years of programming! But I try very hard to stick with "name"
when I'm doing formal instruction.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"If you think it's expensive to hire a professional to do the job, wait
until you hire an amateur." --Red Adair
More information about the Python-list
mailing list