Re: RfC: rethink OO inheritance strictness
| From: | Pierre | Date: | Thu, 03 Aug 2006 14:14:37 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25187@lists.php.net to get a copy of this message | ||
Hello,
On 8/3/06, Sebastian Bergmann <sb@sebastian-bergmann.de> wrote:
Pierre wrote: I don't like new keywords either, but I don't see any alternative. I also think that interfaces are what should be used. But it seems that we are wrong, interfaces do not solve this issue, I'm still unsure about the reasons though. Not that I am advocating this, butWhat are you advocating then? Do you have an opinion? ;-)
class Foo implements PHP_StrictMode {} could imply the same semantics as strict class Foo {}Please tell me what we are missing then. It has been said that interface does not solve this problem. --Pierre