Re: [RFC][DISCUSSION] Group Use Declarations
| From: | Leigh | Date: | Sat, 31 Jan 2015 01:08:18 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Group Use Declarations | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81461@lists.php.net to get a copy of this message | ||
On 31 January 2015 at 00:09, Marcio Almada <marcio.web2@gmail.com> wrote:
> Hi,
>
> 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.
>
> Thanks!
>
Feels a lot like Rust
http://doc.rust-lang.org/reference.html#use-declarations
I'm not opposed to the suggestion, we really should have a shorthand
for condensing use declarations, I just wonder if it could feel more
"PHP". Maybe I'm just nitpicking and it will grow on me :)