Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17073 invoked by uid 1010); 1 Aug 2006 22:52:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17057 invoked from network); 1 Aug 2006 22:52:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2006 22:52:52 -0000 X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from ([195.226.6.42:45967] helo=darkcity.gna.ch) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 91/31-45114-04BDFC44 for ; Tue, 01 Aug 2006 18:52:50 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 39168BB0AD; Wed, 2 Aug 2006 00:52:46 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXR4NjrG; Wed, 2 Aug 2006 00:52:44 +0200 (CEST) Received: from [192.168.1.43] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 64A5FBB0A0; Wed, 2 Aug 2006 00:52:43 +0200 (CEST) Message-ID: <44CFDB2B.1010907@cschneid.com> Date: Wed, 02 Aug 2006 00:52:27 +0200 User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <18810497049.20060801234124@marcus-boerger.de> In-Reply-To: <18810497049.20060801234124@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] RfC: rethink OO inheritance strictness From: cschneid@cschneid.com (Christian Schneider) 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