Re: RfC: rethink OO inheritance strictness
| From: | Derick Rethans | Date: | Wed, 02 Aug 2006 07:37:56 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25104@lists.php.net to get a copy of this message | ||
On Wed, 2 Aug 2006, Christian Schneider wrote:
> Marcus Boerger wrote:
> > nobody forces you to use OO if you don't like it but it is as it is. And
> > we cannot make it ignore its basic rules. It might be that you are lazy and
>
> PHP can and PHP did allow changing parameters when overriding functions. And
> apart from pseudo-academical reasons nothing convincing was said why this
> should be changed. Nobody forces you to change any parameters if you don't
> want to ;-)
You must have missed the couple of reasons why it *is* a bad idea in
this thread then. Go look for them (Andi and Marcus both gave them).
regards,
Derick