Ed Leafe wrote:

>       I don't know why the authors of your book chose to use the term  
> 'variable'. It is generally frowned upon in Python, as it means  
> something quite different in most languages.


I don't think it is frowned upon to call them 'variables', however when 
people start asking whether arguments are passed by reference or passed 
by value, and whether variables are pointers etc. then it starts 
becoming apparent that they are in the c mindset and need a tutorial on 
names and namespaces in Python.

Calling them 'variables' in the tutorial is fine IMO, since everyone 
from other languages understands what a variable is, but give a sidebar 
explaining that Python really doesn't have variables how they probably 
understand them, but merely names in local namespaces bound to objects.


-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to