Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92471

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

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 <rosuav@gmail.com>
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 <a91ad$55796ed2$5419aafe$46975@news.ziggo.nl> <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 <rosuav@gmail.com>
To Skybuck Flying <skybuck2000@hotmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.392.1434022601.13271.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Jun 11, 2015 at 9:27 PM, Skybuck Flying <skybuck2000@hotmail.com> 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...

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

I don't like the OO part of python. In particular the "self" keyword everywhere. "Skybuck Flying" <skybuck2000@hotmail.com> - 2015-06-11 13:19 +0200
  Re: I don't like the OO part of python. In particular the "self" keyword everywhere. "Skybuck Flying" <skybuck2000@hotmail.com> - 2015-06-11 13:27 +0200
    Re: I don't like the OO part of python. In particular the "self" keyword everywhere. Chris Angelico <rosuav@gmail.com> - 2015-06-11 21:36 +1000
    Re: I don't like the OO part of python. In particular the "self" keyword everywhere. Chris Angelico <rosuav@gmail.com> - 2015-06-11 21:38 +1000
    Re: I don't like the OO part of python. In particular the "self" keyword everywhere. MRAB <python@mrabarnett.plus.com> - 2015-06-11 13:16 +0100
      Re: I don't like the OO part of python. In particular the "self" keyword everywhere. Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2015-06-11 17:32 +0200
  Re: I don't like the OO part of python. In particular the "self" keyword everywhere. Michael Torrie <torriem@gmail.com> - 2015-06-11 08:15 -0600
  Re: I don't like the OO part of python. In particular the "self" keyword everywhere. Rustom Mody <rustompmody@gmail.com> - 2015-06-11 09:39 -0700
  Re: I don't like the OO part of python. In particular the "self" keyword everywhere. sohcahtoa82@gmail.com - 2015-06-11 09:55 -0700

csiph-web