Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'english.': 0.04; 'argument': 0.05; 'mrab': 0.05; 'explicit': 0.07; 'language.': 0.14; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'itself,': 0.16; 'java.': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'silly': 0.16; ':-)': 0.16; 'language': 0.16; 'wrote:': 0.18; 'programming': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'question': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; "i'm": 0.30; 'could': 0.34; 'received:84': 0.35; 'but': 0.35; 'there': 0.35; 'c++': 0.36; 'curious': 0.36; "didn't": 0.36; 'method': 0.36; 'too': 0.37; 'question,': 0.38; 'window': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'bad': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'march': 0.61; 'matter': 0.61; 'first': 0.61; 'kind': 0.63; 'such': 0.63; 'refer': 0.63; 'skip:n 10': 0.64; 'within': 0.65; 'between': 0.67; 'mar': 0.68; 'natural': 0.68; 'anything.': 0.68; 'cancer': 0.84; 'smoking': 0.84; 'subject:self': 0.84; '"how': 0.91 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=JLW1sq6b c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=sASEtNAQL0YA:10 a=ihvODaAuJD4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=k_m-Gtze-TJIt163C1UA:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett:2500 Date: Wed, 05 Mar 2014 03:58:33 +0000 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Origin of 'self' References: <7edah9989mdjb9mrnrsh5067np0ihv1jml@4ax.com> <49693163-cb83-4651-81c5-241fad6145d5@googlegroups.com> In-Reply-To: <49693163-cb83-4651-81c5-241fad6145d5@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393991916 news.xs4all.nl 2862 [2001:888:2000:d::a6]:38774 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67789 On 2014-03-05 03:45, Rustom Mody wrote: > On Tuesday, March 4, 2014 6:17:09 PM UTC+5:30, MRAB wrote: >> On 2014-03-04 02:09, Dennis Lee Bieber wrote: >> > On Sun, 2 Mar 2014 22:16:31 -0800 (PST), Westley Martínez declaimed: > >> >> I understand that in an object method the first argument in the >> >> object itself, called self. However, it doesn't have to be called >> >> self, and can be called anything. So my question is why is it >> >> called self and not this like from C++ and Java. It's kind of a >> >> silly question, but one that I'm curious about nevertheless. >> > It didn't want to be egotistical (as I recall, M$ VB uses "me") >> So does AppleScript. > >> > >> In AppleScript a script can refer to the title of a window as "title of >> window" or "window's title", and it can refer to the title of its own >> window as "title of window of me" or "me's window's title". Consistent, >> yes, but bad English. > >> That's why I prefer a programming language not to be too much like a >> natural language. :-) > >> > > > > There could be other conclusions. Such as that English could learn > from AppleScript to not make bogus distinctions between me and my. Or > latin in which case is sufficiently explicit that word-order does not matter > Latin's not that explicit: the endings aren't unique within a declension. > > Reminds me of > "How do we know whether smoking causes cancer or cancer causes smoking?" > > > >