Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-15 Thread Richard Lynch
On Fri, January 11, 2008 4:13 pm, Sam Barrow wrote: On Sat, 2008-01-12 at 00:52 +0300, Antony Dovgal wrote: On 11.01.2008 22:13, Sam Barrow wrote: input from many people is great, moreover - it is necessary. However, it is not the same as deciding by arithmetical majority of votes of

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-14 Thread Sam Barrow
On Sat, 2008-01-12 at 00:52 +0300, Antony Dovgal wrote: On 11.01.2008 22:13, Sam Barrow wrote: input from many people is great, moreover - it is necessary. However, it is not the same as deciding by arithmetical majority of votes of whoever cares to vote on technical questions. Which

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-12 Thread Marcus Boerger
Hello Sam, and here goes the problem, some people here understand the issue a bit better than others and some people actually do the work because they can and are being respected for - just by their experience... Either way there is a clear functional difference. The old array style syntax

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-12 Thread Tomi Kaistila
 and here goes the problem, some people here understand the issue a bit better than others and some people actually do the work because they can and are being respected for - just by their experience... I understand the need to have the final decision made by the core developers. Designing by

[PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Johannes Schlüter
Hi, I did a short count of the votes about the Array Syntax shortcut on the list. I hope I've got everybody right. The results look like that: yesno -- With php-src karma 510 Others16 9

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Steph Fox
-1 (OK so I'm late...) - Original Message - From: Johannes Schlüter [EMAIL PROTECTED] To: PHP Internals List internals@lists.php.net Sent: Friday, January 11, 2008 3:47 PM Subject: [PHP-DEV] SUMMARY: Array syntax Hi, I did a short count of the votes about the Array Syntax shortcut

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Pierre
On Jan 11, 2008 7:24 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: But well in my results I have a problem: For Rasmus's vote I've counted a -1 while as such this syntax is appropriate I think has to be counted as +1. There is more than that. It is too early to close the poll. I is not

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Steph Fox
It is better to have input from people with a wide range of experience levels, it results in a fairer vote that actually represents the population, rather than putting PHP under the control of a select few. No, it is not. This has nothing to do with fairness, as we are not enacting laws,

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Sam Barrow
On Fri, 2008-01-11 at 11:07 -0800, Stanislav Malyshev wrote: It is better to have input from people with a wide range of experience levels, it results in a fairer vote that actually represents the population, rather than putting PHP under the control of a select few. No, it is not. This

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Stanislav Malyshev
It is better to have input from people with a wide range of experience levels, it results in a fairer vote that actually represents the population, rather than putting PHP under the control of a select few. No, it is not. This has nothing to do with fairness, as we are not enacting laws,

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Pierre
On Jan 11, 2008 6:37 PM, Pierre [EMAIL PROTECTED] wrote: On Jan 11, 2008 4:47 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: Hi, I did a short count of the votes about the Array Syntax shortcut on the list. I hope I've got everybody right. The results look like that: Yes, you forgot me.

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Rasmus Lerdorf
Johannes Schlüter wrote: But well in my results I have a problem: For Rasmus's vote I've counted a -1 while as such this syntax is appropriate I think has to be counted as +1. I don't understand how you interpreted my view as a -1. I'm somewhat ambivalent about it, but I don't think it would

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Johannes Schlüter
Hi Pierre, On Fri, 2008-01-11 at 18:37 +0100, Pierre wrote: Yes, you forgot me. And restricting the right to vote to php-src only is respectless for all the documentation people. Well, any restriction there is hard. I know hat the php-src karma is not the best criteria. We have people with

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Pierre
On Jan 11, 2008 4:47 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: Hi, I did a short count of the votes about the Array Syntax shortcut on the list. I hope I've got everybody right. The results look like that: Yes, you forgot me. And restricting the right to vote to php-src only is

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Antony Dovgal
On 11.01.2008 22:13, Sam Barrow wrote: input from many people is great, moreover - it is necessary. However, it is not the same as deciding by arithmetical majority of votes of whoever cares to vote on technical questions. Which is a valid point in most cases, but this is not technical,

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Stanislav Malyshev
I did a short count of the votes about the Array Syntax shortcut on the list. I hope I've got everybody right. The results look like that: There was no vote, in fact. For example, I am for it and I'm sure my vote wasn't counted - simply because I already voiced my support for it last time it

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Pierre
On Jan 11, 2008 10:52 PM, Antony Dovgal [EMAIL PROTECTED] wrote: If we were voting on implementing a highly advanced technical feature then yes, people who know what they're talking about should be given more weight, but in this case I don't think so. You're not going to fix bug reports

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Sam Barrow
On Fri, 2008-01-11 at 19:27 +0100, Pierre wrote: On Jan 11, 2008 7:24 PM, Johannes Schlüter [EMAIL PROTECTED] wrote: But well in my results I have a problem: For Rasmus's vote I've counted a -1 while as such this syntax is appropriate I think has to be counted as +1. There is more than

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Olivier Hill
On Jan 11, 2008 1:47 PM, Sam Barrow [EMAIL PROTECTED] wrote: True. No one's vote is worth more than anyone else's, everybody should have equal say. Some people may know more about the PHP core, but we are all users and developers. Not when some write anything about everything without knowing

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Sam Barrow
On Fri, 2008-01-11 at 14:06 -0500, Olivier Hill wrote: On Jan 11, 2008 1:47 PM, Sam Barrow [EMAIL PROTECTED] wrote: True. No one's vote is worth more than anyone else's, everybody should have equal say. Some people may know more about the PHP core, but we are all users and developers.

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Antony Dovgal
On 12.01.2008 01:08, Pierre wrote: If we were voting on implementing a highly advanced technical feature then yes, people who know what they're talking about should be given more weight, but in this case I don't think so. You're not going to fix bug reports related to the parser, or are

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Jeff Griffiths
Antony Dovgal wrote: ... Well, to me it matters whether the author is going to care of the thing he's proposing or he's going to disappear right after it's implemented. I didn't realize there was a section of the code flagged 'syntactic sugar' and only a few people maintained that part. it

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Antony Dovgal
On 12.01.2008 02:20, Jeff Griffiths wrote: Antony Dovgal wrote: ... Well, to me it matters whether the author is going to care of the thing he's proposing or he's going to disappear right after it's implemented. I didn't realize there was a section of the code flagged 'syntactic sugar'

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Gregory Beaver
Jeff Griffiths wrote: Antony Dovgal wrote: ... Well, to me it matters whether the author is going to care of the thing he's proposing or he's going to disappear right after it's implemented. I didn't realize there was a section of the code flagged 'syntactic sugar' and only a few people

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Jeff Griffiths
Gregory Beaver wrote: Jeff Griffiths wrote: Antony Dovgal wrote: ... Well, to me it matters whether the author is going to care of the thing he's proposing or he's going to disappear right after it's implemented. I didn't realize there was a section of the code flagged 'syntactic sugar' and

Re: [PHP-DEV] SUMMARY: Array syntax

2008-01-11 Thread Pierre
On Jan 12, 2008 1:54 AM, Jeff Griffiths [EMAIL PROTECTED] wrote: if (1) { $a = [ [ ['a' = 1, 3], ($b = 3), ] ]; } else { $a = [ [ ['b' = 1, 3] ] ]; } I agree, that's a bit nasty. =)