Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:don': 0.09; 'cc:addr:python-list': 0.10; 'thu,': 0.15; '"global"': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python.': 0.16; 'wrote:': 0.16; 'variable': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'seems': 0.24; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.28; 'flying': 0.29; 'subject:like': 0.29; 'maybe': 0.31; 'received:google.com': 0.34; 'subject:: ': 0.37; 'self': 0.38; 'wanted': 0.39; 'pm,': 0.39; 'subject:the': 0.40; 'subject:. ': 0.66; 'subject:self': 0.84; 'to:addr:hotmail.com': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hBMJdnOyECcOe3E6JHWPpo6hSooiUkioXonyMeEKD20=; b=XEO8sDCrnXBus2y3vx8ArIS4Mkzq5v+sUlTRxv7pYgchTmJQQkfKD/e3WTTi+FxB4B aTp2OwnXbUyBxKxUOUA2ptqxBpD89sEd2onh+5xCYODF59e0X6myq+t1k3MXvy2gdLnc UTtYF0OXBjoh2d8pC23557NiQEivfue1660K25NJW1NuFow/XtptU6MhDZ6DgNa11Q/0 jMSiF4HrOdX1TcnlEU7oE76E41e9iOA2eR7FX04f7s8HrsdGhz3ZQ2jFBM1G8Vy2p/uR dy5L3KHq93zpfwPmZbuPxvw75yrcB9RFxzyx8X+KXXvshJcHduacKqBpMDL3YV0M+L5u 734Q== MIME-Version: 1.0 X-Received: by 10.42.43.199 with SMTP id y7mr10240309ice.12.1434022592385; Thu, 11 Jun 2015 04:36:32 -0700 (PDT) In-Reply-To: <77496$55797095$5419aafe$48148@news.ziggo.nl> References: <77496$55797095$5419aafe$48148@news.ziggo.nl> Date: Thu, 11 Jun 2015 21:36:32 +1000 Subject: Re: I don't like the OO part of python. In particular the "self" keyword everywhere. From: Chris Angelico To: Skybuck Flying Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434022601 news.xs4all.nl 2963 [2001:888:2000:d::a6]:41724 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3399 X-Received-Body-CRC: 1615900634 Xref: csiph.com comp.lang.python:92471 On Thu, Jun 11, 2015 at 9:27 PM, Skybuck Flying wrote: > If I wanted to access a global variable I would use the existing "global" > thing > > global SomeField... > > maybe if I wanted to use a local variable for routine: > > local SomeField... > > seems nicer... then having to use self everywhere...