Newsgroups: comp.lang.python
From: Michael Chermside <mch...@destiny.com>
Date: Fri, 11 Jan 2002 13:21:34 -0500
Local: Fri, Jan 11 2002 1:21 pm
Subject: Another Language Change for Debate
Okay, for some reason this newsgroup tends to get WAY more suggestions
for language changes than that for any other language that I know. I suppose that there are a couple of reasons for this. One is cultural, another is that Python definitely IS being improved and extended (witness brilliant advances like iterators, generators, and the beginnings of a fix for the type-class chasm). My conceit is that another reason is that Python is so VERY nice already that it's the language to which most people want to add their own pet idea. But I suspect that the NUMBER ONE reason is that the people who read and write on c.l.p are, on the whole, VERY GOOD at language design. So I'll throw out an idea of my own for discussion. This is NOT a PEP... One of the things that still throws me in Python is writing things like class MyClass(OtherClass): Of course what I've forgotten to do here is to declare 'self' as the Proposals for leaving off 'self' have been made many times, but that's a So here's my idea. Allow the following syntax: class MyClass(OtherClass): So in method declarations where we normally permit only an identifier As far as I can tell, there'd be no syntactic ambiguity (please correct So... what do you folks think? -- Michael Chermside You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||