Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25098 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63685 invoked by uid 1010); 2 Aug 2006 01:11:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63670 invoked from network); 2 Aug 2006 01:11:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2006 01:11:07 -0000 X-PHP-List-Original-Sender: robert@wocmud.org X-Host-Fingerprint: 66.11.173.122 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([66.11.173.122:47808] helo=blobule.interjinn.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 05/46-45114-A42FFC44 for ; Tue, 01 Aug 2006 20:31:06 -0400 Received: by blobule.interjinn.com (Postfix, from userid 2000) id 8B3445ACE34; Tue, 1 Aug 2006 20:32:28 -0400 (EDT) To: Marcus Boerger Cc: Michael Wallner , internals@lists.php.net In-Reply-To: <18810497049.20060801234124@marcus-boerger.de> References: <18810497049.20060801234124@marcus-boerger.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Worlds of Carnage Date: Tue, 01 Aug 2006 20:32:27 -0400 Message-ID: <1154478748.6599.16.camel@blobule> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Subject: Re: [PHP-DEV] RfC: rethink OO inheritance strictness From: robert@wocmud.org (Robert Cummings) On Tue, 2006-08-01 at 23:41 +0200, Marcus Boerger wrote: > Hello Michael, > > nobody forces you to use OO if you don't like it but it is as it is. And It is as it is, but not as it was. PHP4 allowed signature mismatching. > we cannot make it ignore its basic rules. It might be that you are lazy and > have code that would end up without problems if changing signatures at will. > However we have a bunch of situations where we cannot allow changes and that > is not only interfaces. It si also about magic functions, all that start > with __, it is about any signature that has default values or type hints or > pass by reference info. Magic... hmmmm... so PHP is moving to more "magic"? > So after all where should we draw the line? Any why > just because a few people are to lazy for a few keystrokes? Come on give me > any reason why we should reinvent OOP theory and make it work. Or why we > should change to prototype OOP and make everything damn complex to > understand and break all of BC. To make a better language. Following all the sheep out there just makes for more fodder. Just because it's in the books, doesn't make it the best way. Innovation doesn't come by following the pack it almost always comes from changing the game. Cheers, Rob. -- .---------------------------------------------. | Worlds of Carnage - http://www.wocmud.org | :---------------------------------------------: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul. | `---------------------------------------------'