Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81495 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47406 invoked from network); 31 Jan 2015 18:23:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2015 18:23:19 -0000 Authentication-Results: pb1.pair.com header.from=php@tutteli.ch; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@tutteli.ch; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain tutteli.ch designates 80.74.154.78 as permitted sender) X-PHP-List-Original-Sender: php@tutteli.ch X-Host-Fingerprint: 80.74.154.78 ns73.kreativmedia.ch Linux 2.6 Received: from [80.74.154.78] ([80.74.154.78:40534] helo=hyperion.kreativmedia.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/21-39884-39D1DC45 for ; Sat, 31 Jan 2015 13:23:16 -0500 Received: (qmail 16184 invoked from network); 31 Jan 2015 19:23:11 +0100 Received: from cm56-153-252.liwest.at (HELO RoLaptop) (86.56.153.252) by ns73.kreativmedia.ch with ESMTPSA (AES256-SHA encrypted, authenticated); 31 Jan 2015 19:23:11 +0100 To: "'Markus Fischer'" , References: <54CCF086.9090904@fischer.name> In-Reply-To: <54CCF086.9090904@fischer.name> Date: Sat, 31 Jan 2015 19:23:08 +0100 Message-ID: <005801d03d82$f79982a0$e6cc87e0$@tutteli.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGQnWDXrNaEmvCsJXCwdLFX4XakZgJrls+UnUZDViA= Content-Language: de-ch Subject: AW: [PHP-DEV][RFC][DISCUSSION] Group Use Declarations From: php@tutteli.ch ("Robert Stoll") > -----Urspr=C3=BCngliche Nachricht----- > Von: Markus Fischer [mailto:markus@fischer.name] > Gesendet: Samstag, 31. Januar 2015 16:11 > An: internals@lists.php.net > Betreff: Re: [PHP-DEV][RFC][DISCUSSION] Group Use Declarations >=20 > On 31.01.15 01:09, Marcio Almada wrote: > > After a period of research along with part of the PHP community I'd > > like to present this RFC which aims to improve PHP namespaces. > > > > The RFC: https://wiki.php.net/rfc/group_use_declarations > > Along with its pull request: = https://github.com/php/php-src/pull/1005 > > > > Needless to say, I'm open to suggestions that could improve the = proposal. >=20 > The RFC says: > "Group use statements makes it easier to identify that multiple = imported entities are from the same module." >=20 > IMHO that's too subjective. What "is hard" with the current state of = affairs? >=20 >=20 > Btw, here's a CON you can add to the RFC (and, btw., it doesn't = contain > any): > - Prevents searching sources literally for used namespaces >=20 >=20 > Another observation thing from my side: with proper tooling I almost = can't remember when I wrote the statements by > hand; they usually a) get automatically managed b) thus alphabetically = sorted and c) folded away in general. > > What is the real benefit of using groups it and who's the group = benefiting from that change? Maybe you can expand on > that in the RFC. >=20 > sincerely, > - Markus >=20 > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: http://www.php.net/unsub.php [Robert Stoll]=20 I agree with Markus, the benefits for users which are using IDEs is = marginal. But I suppose all other users could actually benefit from it. = Yet, with the drawback described by Markus - searching for use = statements without a clever IDE will be more difficult. Anyway, thinking = in terms of scripting it seems to be a nice feature. Therefore +1=20