Guido's new method definition idea
cs at zip.com.au
Sun Dec 7 05:03:48 CET 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>
| > 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
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
More information about the Python-list