Origin of 'self'

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Mar 6 18:43:19 CET 2014


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





More information about the Python-list mailing list