Another Language Change for Debate
Courageous
jkraska at san.rr.com
Sat Jan 12 12:44:49 EST 2002
More information about the Python-list mailing list
Sat Jan 12 12:44:49 EST 2002
- Previous message (by thread): Ruby Impressions (fwd) (fwd)
- Next message (by thread): Another Language Change for Debate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>So here's my idea. Allow the following syntax: > >class MyClass(OtherClass): > def self.addItems( newItems ): > self.items += newItems I wouldn't really change Python in this particular way, but it does have a certain appeal to it. For example, it could also be written... ... def MyClass.addItems ( ... ... ...to define a static function. Face it, though, one way or another all of these various kinds of things are just different kinds of syntactic sugar. *shrug* C//
- Previous message (by thread): Ruby Impressions (fwd) (fwd)
- Next message (by thread): Another Language Change for Debate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list