Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-27 Thread Sebastian Deutsch
Andi Gutmans schrieb: Not sure we really reached a conclusion. I think it was inconclusive and people got tired. As I've stated in the past in general I don't like the ability to do things in more than one way but in this case I think the advantages of the cleaner syntax outweigh the fact

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Lokrain
Hello, -100. This discussion is closed long ago.

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Pierre Joye
On Fri, May 23, 2008 at 6:30 AM, Brian Moon [EMAIL PROTECTED] wrote: Andi Gutmans wrote: It would make PHP a bit nicer :) Andi I almost typed it the other day not thinking. Been doing a lot of YUI and {} and [] are growing on me. +1 For the record here, +1. -- Pierre

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Alexey Zakhlestin
On Fri, May 23, 2008 at 12:59 PM, Pierre Joye [EMAIL PROTECTED] wrote: For the record here, +1. +1 (for informational purposes, do not have karma to actually vote) -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Jani Taskinen
Johannes Schlüter wrote: Hi, On Thu, 2008-05-22 at 12:33 +0200, Pierre Joye wrote: Agreed, we should simply go through a vote and be done with that. Vote until all are annoyed and don't vote against it anymore just to stop voting? (it's less annoying to have it than vote about it every two

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Eric Coleman
+1 On Fri, May 23, 2008 at 7:45 AM, Jani Taskinen [EMAIL PROTECTED] wrote: Johannes Schlüter wrote: Hi, On Thu, 2008-05-22 at 12:33 +0200, Pierre Joye wrote: Agreed, we should simply go through a vote and be done with that. Vote until all are annoyed and don't vote against it anymore

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-23 Thread Yi Wang
I'm not using this syntax. But I don't oppose it. On 5/22/08, Stan Vassilev | FM [EMAIL PROTECTED] wrote: Hi, I hear this often by other developers and I tend to agree with them, that arrays are used often, and often nested, so that having a long syntax for array literals tend to

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Pierre Joye
On Thu, May 22, 2008 at 5:53 AM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! $a = [[1, 2], [3, 4], 5, 6]; Proposed twice at least, but PHP developer community doesn't seem to like it. Many of us like it. And the end users I know like it too. Cheers, -- Pierre http://blog.thepimp.net |

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Antony Dovgal
On 22.05.2008 13:46, Pierre Joye wrote: On Thu, May 22, 2008 at 5:53 AM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! $a = [[1, 2], [3, 4], 5, 6]; Proposed twice at least, but PHP developer community doesn't seem to like it. Many of us like it. And the end users I know like it too. I

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Pierre Joye
On Thu, May 22, 2008 at 11:56 AM, Antony Dovgal [EMAIL PROTECTED] wrote: On 22.05.2008 13:46, Pierre Joye wrote: On Thu, May 22, 2008 at 5:53 AM, Stanislav Malyshev [EMAIL PROTECTED] wrote: Hi! $a = [[1, 2], [3, 4], 5, 6]; Proposed twice at least, but PHP developer community doesn't

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Johannes Schlüter
Hi, On Thu, 2008-05-22 at 12:33 +0200, Pierre Joye wrote: Agreed, we should simply go through a vote and be done with that. Vote until all are annoyed and don't vote against it anymore just to stop voting? (it's less annoying to have it than vote about it every two months) There was some voting

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Pierre Joye
On Thu, May 22, 2008 at 3:56 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: Hi, On Thu, 2008-05-22 at 12:33 +0200, Pierre Joye wrote: Agreed, we should simply go through a vote and be done with that. Vote until all are annoyed and don't vote against it anymore just to stop voting? (it's

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Philip Olson
On 22 May 2008, at 07:29, Pierre Joye wrote: On Thu, May 22, 2008 at 3:56 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: Hi, On Thu, 2008-05-22 at 12:33 +0200, Pierre Joye wrote: Agreed, we should simply go through a vote and be done with that. Vote until all are annoyed and don't vote

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Stanislav Malyshev
Hi! Many of us like it. And the end users I know like it too. You don't need to convince me :) -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To

RE: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Andi Gutmans
Not sure we really reached a conclusion. I think it was inconclusive and people got tired. As I've stated in the past in general I don't like the ability to do things in more than one way but in this case I think the advantages of the cleaner syntax outweigh the fact that we'd have two ways.

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Brian Moon
Andi Gutmans wrote: Not sure we really reached a conclusion. I think it was inconclusive and people got tired. As I've stated in the past in general I don't like the ability to do things in more than one way but in this case I think the advantages of the cleaner syntax outweigh the fact that

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-21 Thread Felipe Pena
Hello Em Qui, 2008-05-22 às 05:12 +0300, Stan Vassilev | FM escreveu: Was this discussed before on the list? Yes. http://marc.info/?l=php-internalsm=119995972028293w=2 Regards, Stan Vassilev -- Regards, Felipe Pena. -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-21 Thread Stanislav Malyshev
Hi! $a = [[1, 2], [3, 4], 5, 6]; Proposed twice at least, but PHP developer community doesn't seem to like it. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing