Re: class proposal 2
Greg Ewing <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mark Hahn <[email protected]>: > I've got a two-tier class proposal that is more concrete than my old one. > It is mostly based on Serge's proposal but I feel Paul's thinking is > incorporated. As always feel free to shoot holes in it. This looks interesting, but something doesn't seem quite right about it. If class methods are to be methods of the class in the same way that instance methods are methods of the instance, they should be kept in the instance-method-area of the class's class, not in the class. Classes in this proposal don't seem to have classes. In other words, they're not themselves objects within their own paradigm. In this respect, they're more like old-style Python classes. To a Python person, this will seem like a backward step. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | [email protected] +--------------------------------------+