Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67789
| 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 | <python@mrabarnett.plus.com> |
| 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 <python@mrabarnett.plus.com> |
| 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 | <dc4f4ee0-8380-4141-97bd-99d6e67d5e2d@googlegroups.com> <7edah9989mdjb9mrnrsh5067np0ihv1jml@4ax.com> <mailman.7706.1393937237.18130.python-list@python.org> <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 <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.7786.1393991916.18130.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
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. > >> <OT> > >> 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. :-) > >> </OT> > > <Continue-OT> > > 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. > <Even-more-OT> > Reminds me of > "How do we know whether smoking causes cancer or cancer causes smoking?" > </Even-more-OT> > > </Continue-OT> >
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Origin of 'self' Westley Martínez <anikom15@gmail.com> - 2014-03-02 22:16 -0800
Re:Origin of 'self' Dave Angel <davea@davea.name> - 2014-03-03 01:49 -0500
Re: Origin of 'self' Steven D'Aprano <steve@pearwood.info> - 2014-03-03 06:52 +0000
Re: Origin of 'self' Westley Martínez <anikom15@gmail.com> - 2014-03-05 17:56 -0800
Re: Origin of 'self' Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-06 17:43 +0000
Re: Origin of 'self' Marko Rauhamaa <marko@pacujo.net> - 2014-03-06 19:46 +0200
Re: Origin of 'self' Ian Kelly <ian.g.kelly@gmail.com> - 2014-03-03 00:03 -0700
Re: Origin of 'self' Terry Reedy <tjreedy@udel.edu> - 2014-03-03 13:35 -0500
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-03 21:09 -0500
Re: Origin of 'self' Roy Smith <roy@panix.com> - 2014-03-03 21:14 -0500
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-04 19:27 -0500
Re: Origin of 'self' Chris Angelico <rosuav@gmail.com> - 2014-03-04 13:13 +1100
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-04 12:47 +0000
Re: Origin of 'self' Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-03-04 14:27 +0000
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-04 17:10 +0000
Re: Origin of 'self' Rustom Mody <rustompmody@gmail.com> - 2014-03-04 19:45 -0800
Re: Origin of 'self' MRAB <python@mrabarnett.plus.com> - 2014-03-05 03:58 +0000
Re: Origin of 'self' Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-04 19:25 -0500
csiph-web