Attack a sacred Python Cow
kay.schluehr at gmx.net
Sat Jul 26 17:20:51 CEST 2008
On 26 Jul., 09:45, Torsten Bronger <bron... at physik.rwth-aachen.de>
> Terry Reedy writes:
> > [...]
> > Or the proposal would have to be that 'self' is mandatory for all
> > programmers in all languages. I think *that* would be
> > pernicious. People are now free to write the more compact 's.sum =
> > s.a + s.b + s.c' if they want instead of the 'self' version. And
> > again, not everyone writes in English.
> Of course, "self" would have to become a reserved word.
This is an extra requirement. Why do you want to make 'self' a keyword?
More information about the Python-list