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


Groups > comp.lang.python > #67943

Re: Origin of 'self'

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Origin of 'self'
Date 2014-03-06 17:43 +0000
References <dc4f4ee0-8380-4141-97bd-99d6e67d5e2d@googlegroups.com> <531426b8$0$2923$c3e8da3$76491128@news.astraweb.com> <1634feec-9f23-4f46-bd38-f5f6ef3b0113@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.7868.1394127826.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 06/03/2014 01:56, Westley Martínez wrote:
> Why did C++ use this? I don't really like this. It doesn't sound right. I think it's because I have trouble saying the th sound without getting my mouth full of spit.
>
> Thankfully you don't often need to use this in C++ like you do with self in Python.
>

You don't need to use self, you can call it anything you like, but 
you'll not be particularly popular if you do this.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

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


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