Guido's new method definition idea

Cameron Simpson cs at zip.com.au
Sat Dec 6 23:03:48 EST 2008


On 06Dec2008 11:30, Andreas Waldenburger <geekmail at usenot.de> wrote:
| On 6 Dec 2008 09:18:20 GMT Marc 'BlackJack' Rintsch <bj_666 at gmx.net>
| wrote:
| > On Sat, 06 Dec 2008 09:56:12 +0100, Antoine De Groote wrote:
| > [snip reference to "preferably only one way to do it"]
| > 
| > The reason why I'm against that change too.  It adds a second, 
| > alternative way to express something that is already in the language.
| > 
| > > I agree that for newcomers to Python, the class method definition
| > > might seem strange.
| > 
| > And after the change it continues to because they will run into
| > *both* variants in tutorials, code, and books, so it might be even
| > more confusing.
| > 
| I agree with that view. Not much to add to it, just increasing the
| weight.

Me too. And it smells like Perl if we let the $ get in there. And it doesn't
add any facility to the language - it's just syntactic lint.

So -1 from me.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/



More information about the Python-list mailing list