Re: RfC: rethink OO inheritance strictness
| From: | Edin Kadribasic | Date: | Tue, 01 Aug 2006 22:55:19 +0000 |
| Subject: | Re: RfC: rethink OO inheritance strictness | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25088@lists.php.net to get a copy of this message | ||
Christian Schneider wrote:
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 ;-) Why can't we agree that people use classes in different ways (call it non-OO ways if you want) and restrain from forcing ones views onto everybody? PHP works well because it of the freedom it gives, not because of the limitations.Amen! -Edin