Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuringassignment

2016-04-09 Thread Stephen Coakley
On 04/07/2016 07:37 AM, Lester Caine wrote: Do we really need to make everything so shorthand that one has no idea what one is looking at when scanning code? That's the goal right? We're trying to make Perl 7 here. Just kidding. I like it because it makes the syntax look consistent with the

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuringassignment

2016-04-08 Thread S.A.N
Maybe in the future when there will be an inline object {}, you will need to make the destructuring {} -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuringassignment

2016-04-08 Thread Ivan Enderlin
Hi Andrea, On 08/04/16 13:26, Andrea Faulds wrote: Hi Ivan, Ivan Enderlin wrote: Thanks a lot for this RFC. Huge +1 from the all Hoa's community and myself. However, did you discuss about `[…]` vs. `{…}`? Most of the time, arrays or vectors constructing are represented by `[…]` symbols while

Re: [PHP-DEV] [RFC] Square bracket syntax for array destructuringassignment

2016-04-08 Thread Andrea Faulds
Hi Ivan, Ivan Enderlin wrote: Thanks a lot for this RFC. Huge +1 from the all Hoa's community and myself. However, did you discuss about `[…]` vs. `{…}`? Most of the time, arrays or vectors constructing are represented by `[…]` symbols while destructing are represented by `{…}`. What your point