Re: RfC: rethink OO inheritance strictness

From: Date: Tue, 01 Aug 2006 22:52:27 +0000
Subject: Re: RfC: rethink OO inheritance strictness
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-25087@lists.php.net to get a copy of this message
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 ;-) 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. - Chris

« previous php.internals (#25087) next »