Re: class proposal 2
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Serge Orlov wrote: > Besides all new class proposals break except statement, if > you try to write > > except X: > > it won't work because except is walking prototype chain and > the chain will lead you to X.instance_ prototype which is > not equal to X. Types solve that. Actually in my last proposal Klass was the prototype of the instance Klass(). I had thought that through. That was one of the reasons I turned your proposal inside out.