Variables with cross-module usage

Lie Ryan lie.1296 at gmail.com
Mon Nov 30 00:10:23 EST 2009


On 11/30/2009 12:00 PM, Terry Reedy wrote:
> Dennis Lee Bieber wrote:
>
>> In these languages, the names always refer to the same location.
>> Python confuses matters by having names that don't really refer to
>> location, but are attached to the objects.
>
> In everyday life and natural languages, names refer to people, other
> objects, roles, and only occasionally to places that can be occupied. I
> could claim that it is classical computer languages that confuse by
> restricting names to locations in a linear sequence. You are just used
> to the straightjacket ;-).

In everyday life and natural languages, though an object may have many 
names/aliases; once objects are assigned a name, it is practically 
impossible to change the name to the object the name will be practically 
stuck to it forever. In everyday life and natural languages, a single 
name can be used to refer to multiple objects just by context without 
referring any namespace. Let's not start making analogism between nature 
and silicon.

And of all, no one is confused. It is just a matter of assigning new 
shade of meaning to a word.



More information about the Python-list mailing list