Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98237 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30807 invoked from network); 7 Feb 2017 10:29:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2017 10:29:51 -0000 X-Host-Fingerprint: 87.75.96.78 static-87-75-96-78.vodafonexdsl.co.uk Received: from [87.75.96.78] ([87.75.96.78:10839] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/F6-03389-E91A9985 for ; Tue, 07 Feb 2017 05:29:51 -0500 Message-ID: To: internals@lists.php.net References: <459c6bef-8936-634a-9520-dbd65c35b7c7@fleshgrinder.com> In-Reply-To: Date: Tue, 7 Feb 2017 10:29:36 -0000 Lines: 2 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 X-Posted-By: 87.75.96.78 Subject: Re: [PHP-DEV] Namespaces in Core From: TonyMarston@hotmail.com ("Tony Marston") "Stanislav Malyshev" wrote in message news:a8d24d41-bd3a-0881-3fcb-9366fe974c28@gmail.com... > >Hi! > >> New classes within 7.2 (e.g. \HashContext) to be moved without concern >> for BC (e.g. \php\Hash\HashContext) >> >> Older classes (e.g. \RecursiveIteratorIterator) to be moved AND >> ALIASED FOR BC (e.g. \php\SPL\Iterator\RecursiveIteratorIterator) > >Do we really need this? I mean, it's not very likely that there's >another RecursiveIteratorIterator in PHP code, and in user code it'd be >namespaced anyway... It just looks like a lot of moving things around >without any visible (at least visible to me) benefit. And given that no >code would be able to use the long name for like 10 years, and even then >why would anybody use long name if short one works.... In general, I >don't see a point. New exts/features - sure. I agree with Stanislav. Everyone should remember that namespaces were only invented to deal with a particular problem - that of name collisions with user-land code or third-party libraries. It was NEVER intended to be applied to all core functions. Do you realise that this will break ALL existing code? For what benefit? Just to satisfy someone's personal preference is NOT enough justification. -- Tony Marston