Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77475 invoked by uid 1010); 20 Apr 2004 14:02:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77154 invoked from network); 20 Apr 2004 14:02:38 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 20 Apr 2004 14:02:38 -0000 Received: (qmail 14357 invoked by uid 546); 20 Apr 2004 14:02:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Apr 2004 14:02:38 -0000 Date: Tue, 20 Apr 2004 10:02:38 -0400 (EDT) X-X-Sender: adam@miranda.org To: George Schlossnagle cc: Derick Rethans , Sterling Hughes , Andi Gutmans , PHP Developers Mailing List In-Reply-To: Message-ID: References: <5.1.0.14.2.20040419112627.03efaa00@localhost> <5.1.0.14.2.20040419130523.04e3fe60@localhost> <101121849562.20040419204933@marcus-boerger.de> <0EB7FB18-923B-11D8-8782-000393B2B3C0@omniti.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Interface inheritance From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Tue, 20 Apr 2004, George Schlossnagle wrote: > On Apr 20, 2004, at 3:22 AM, Derick Rethans wrote: > > > On Mon, 19 Apr 2004, Sterling Hughes wrote: > > > >> mo compile errors mo better. > > > > But NOT for normal methods! > > I agree with Derick. Compile errors for interfaces methods good. > Compile errors for normal inherited methods bad. Amen! While I'm in favor of this for other reasons, my largest argument is backwards compatibility. Compile errors for normal methods is guaranteed to break *lots* of PHP 4 code and not in a trivial s/var/public/g kind of way. -adam -- adam@trachtenberg.com author of o'reilly's php cookbook avoid the holiday rush, buy your copy today!