Re: RFC: Dropping Namespace

From: Date: Wed, 05 Dec 2007 17:04:18 +0000
Subject: Re: RFC: Dropping Namespace
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-33738@lists.php.net to get a copy of this message
On Wed, 5 Dec 2007 09:55:40 +0100 (CET), Derick Rethans <derick@php.net> wrote: > On Tue, 4 Dec 2007, Larry Garfield wrote: > >> 1) "use MyDate as DateTime". I believe Greg pointed out the solution > here. >> When PHP 5.5 is released and adds its own Whatever class, you just do > the >> following: >> >> namespace me; >> use Whatever as LegacyWhatever; >> class Whatever{} >> >> It's a one-line change to keep your code working. I think that's > acceptable, > > It's not acceptable, as you're breaking BC. > >> For whatever the opinion of someone who writes PHP all day and not C >> is worth, there it is. > > What makes you think I am different? You write C at all and have commit access to CVS, and I do neither? (I wasn't intending it as a snarky comment. I was acknowledging that I don't write code for the engine and at present am not able to do so, as my C is far too rusty.) --Larry Garfield

« previous php.internals (#33738) next »