Re: RfC: rethink OO inheritance strictness
| From: | Rasmus Lerdorf | Date: | Thu, 03 Aug 2006 14:35:13 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25189@lists.php.net to get a copy of this message | ||
Pierre wrote:
Hello, On 8/3/06, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:Well, currently they don't because they don't care about method signatures, but they could be made to care. Are there reasons beyond that? -RasmusI'm not all that keen on a new keyword for this. How about using an interface to indicate strictness? Isn't this really what interfaces are all about?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...