Re: Variables vs names

2012-08-24 Thread Ben Finney
Steven D'Aprano writes: > On Thu, 23 Aug 2012 14:22:08 -0500, Evan Driscoll wrote: > > > In [the hypothetical language] Python--, any time you use a name, > > you have to prefix it with the word 'variable': > > variable x = 4 > > print(variable x) > > > > Does Python-- have variables? > > O

Re: Variables vs names [was: Objects in Python]

2012-08-24 Thread Steven D'Aprano
On Thu, 23 Aug 2012 14:22:08 -0500, Evan Driscoll wrote: > On 08/23/2012 12:56 PM, Steven D'Aprano wrote: >> On Thu, 23 Aug 2012 12:17:03 -0500, Evan Driscoll wrote: >> >>> I definitely *wouldn't* say "Python >>> classes aren't really classes" -- even though (I assert) Python >>> classes are *far

Re: Variables vs names [was: Objects in Python]

2012-08-23 Thread Chris Angelico
On Fri, Aug 24, 2012 at 5:22 AM, Evan Driscoll wrote: > In Python--, any time you use a name, you have to prefix it with the > word 'variable': > variable x = 4 > print(variable x) That gets really unwieldy. You should shorten it to a single symbol. And your language could be called Python Hy