Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'received:134': 0.05; 'reject': 0.05; 'think,': 0.07; 'variables.': 0.07; 'python': 0.09; 'bindings': 0.09; 'variables,': 0.09; 'languages.': 0.15; 'confusion': 0.16; 'finney': 0.16; 'reference).': 0.16; 'subject:Objects': 0.16; 'term.': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'java': 0.21; 'references': 0.23; "haven't": 0.23; 'idea': 0.24; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'instead.': 0.27; "doesn't": 0.28; 'objects': 0.29; 'problem': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; '(with': 0.33; 'languages': 0.33; 'ben': 0.35; 'programmers': 0.36; 'anything': 0.36; 'should': 0.36; 'best,': 0.37; 'why': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'think': 0.40; 'skip:u 10': 0.60; 'kind': 0.61; '8bit%:40': 0.65; 'skip:\xe2 10': 0.66; 'fact,': 0.69; '\xe2\x80\x93': 0.75; 'discovered': 0.83 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYQAHwuN1CGuA9G/2dsb2JhbABFhgOCTq5WhlMBAQUjDwFFEQsYAgIFFgsCAgkDAgECAUUTCAKICaZSigGJBIEhjVyCCoESA5VUhUmKS4Jl Date: Fri, 24 Aug 2012 09:38:48 +0200 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Objects in Python References: <18409992-1e28-4721-8e64-60c69668da4e@googlegroups.com> <87d32i1ntc.fsf@benfinney.id.au> In-Reply-To: <87d32i1ntc.fsf@benfinney.id.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345793997 news.xs4all.nl 6858 [2001:888:2000:d::a6]:47617 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27782 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.