Re: [PHP-DEV] True labelled breaks

2006-02-22 Thread Wez Furlong
On 2/21/06, Steph Fox <[EMAIL PROTECTED]> wrote: > One more time: labelled breaks weren't offered as an _alternative_ to goto. > Why are you bringing this to the forum now? Because it's a valid part of the discussion. --Wez. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] True labelled breaks

2006-02-21 Thread Derick Rethans
On Tue, 21 Feb 2006, Steph Fox wrote: > > > Hartmut Holzgraefe wrote: > > > > Wez Furlong wrote: > > > > > I think not many people use it because it's difficult to use. > > > > > Having real labels might change that. > > > > > Personally, I'd prefer real goto, as I've stated in the past. > > > > >

Re: [PHP-DEV] True labelled breaks

2006-02-21 Thread Steph Fox
Hartmut Holzgraefe wrote: > Wez Furlong wrote: > > I think not many people use it because it's difficult to use. > > Having real labels might change that. > > Personally, I'd prefer real goto, as I've stated in the past. > > Just for the record again, I'm +1 for goto, and +0.5 for labelled > > bre

Re: [PHP-DEV] True labelled breaks

2006-02-21 Thread Derick Rethans
On Mon, 20 Feb 2006, Lukas Smith wrote: > Hartmut Holzgraefe wrote: > > Wez Furlong wrote: > > > I think not many people use it because it's difficult to use. > > > Having real labels might change that. > > > Personally, I'd prefer real goto, as I've stated in the past. > > > Just for the record a

Re: [PHP-DEV] True labelled breaks

2006-02-21 Thread Zeev Suraski
At 13:43 20/02/2006, Lukas Smith wrote: Hartmut Holzgraefe wrote: Wez Furlong wrote: I think not many people use it because it's difficult to use. Having real labels might change that. Personally, I'd prefer real goto, as I've stated in the past. Just for the record again, I'm +1 for goto, and

Re: [PHP-DEV] True labelled breaks

2006-02-20 Thread Lukas Smith
Hartmut Holzgraefe wrote: Wez Furlong wrote: I think not many people use it because it's difficult to use. Having real labels might change that. Personally, I'd prefer real goto, as I've stated in the past. Just for the record again, I'm +1 for goto, and +0.5 for labelled breaks only if we've to

Re: [PHP-DEV] True labelled breaks

2006-02-20 Thread Hartmut Holzgraefe
Wez Furlong wrote: I think not many people use it because it's difficult to use. Having real labels might change that. Personally, I'd prefer real goto, as I've stated in the past. Just for the record again, I'm +1 for goto, and +0.5 for labelled breaks only if we've totally given up on goto. F

Re: [PHP-DEV] True labelled breaks

2006-02-20 Thread Hartmut Holzgraefe
Derick Rethans wrote: I will use it. << that good enough? :) But seriously, I have quite a few cases where I would use it if it was available. same here ... i tried to avoid the current "break n;" where ever possible as it is easy to run into a maintainance nightmare with it (renumbering! this

Re: [PHP-DEV] True labelled breaks

2006-02-19 Thread Derick Rethans
On Sat, 18 Feb 2006, Andi Gutmans wrote: > As I said, the syntax is quite elegant and the patch isn't too bad either. > However, I do suggest we only add it if people are really convinced that it'll > be used. I will use it. << that good enough? :) But seriously, I have quite a few cases where I

Re: [PHP-DEV] True labelled breaks

2006-02-19 Thread Steph Fox
quot;Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Monday, February 20, 2006 1:09 AM Subject: Re: [PHP-DEV] True labelled breaks I think not many people use it because it's difficult to use. Having real labels might change that. Personally, I'd prefer real goto,

Re: [PHP-DEV] True labelled breaks

2006-02-19 Thread Wez Furlong
a fairly bad idea > >- I appear to be in the minority on that issue. But I don't see any > >problem with introducing labels, I just see it as a more > >user-friendly way of allowing nested breaks. > > > >Am I very wrong? > > > > > >- Origin

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Andi Gutmans
very much. That's because people like me think it's > >scary :) and that's _exactly_ what I was trying to say. > > > >- Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> > >To: "Steph Fox" <[EMAIL PROTECTED]>;

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Derick Rethans
#x27;s _exactly_ what I was trying to say. > > > >- Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> > >To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" > >Sent: Sunday, February 19, 2006 12:48 AM > >Subject: Re: [PH

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
ndi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Sunday, February 19, 2006 1:14 AM Subject: Re: [PHP-DEV] True labelled breaks Argh, re-read my first email. I gave my reasoning there... At 03:11 PM 2/18/2006, Steph Fox wro

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
In a previous email Steph Fox writes: could you please re-visit it, evaluate it, discuss it (as opposed to talking about GOTO, which is unrelated) Then in this email Steph Fox writes: nb I think implementing goto/equivalent itself is a fairly bad idea Says the mouth to the foot, "Pleased t

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
: "Steph Fox" <[EMAIL PROTECTED]> Cc: "internals" Sent: Saturday, February 18, 2006 9:07 PM Subject: Re: [PHP-DEV] True labelled breaks I'll avoid re-iterating all of the comments I've said back in December and simply summarize by saying -1. Ilia -- PHP Int

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Andi Gutmans
we have before us a patch that could do that. I'm failing to understand why it's problematic to use it. - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Sunday, February

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
ic to use it. - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Sunday, February 19, 2006 12:56 AM Subject: Re: [PHP-DEV] True labelled breaks Yeah but my point was that even

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Robert Cummings
In a previous email Steph Fox writes: > > could you please re-visit it, evaluate it, discuss it (as opposed > to talking about GOTO, which is unrelated) Then in this email Steph Fox writes: > > nb I think implementing goto/equivalent itself is a fairly bad idea Says the mouth to the foot, "Please

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Andi Gutmans
I don't see any problem with introducing labels, I just see it as a more user-friendly way of allowing nested breaks. Am I very wrong? - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "intern

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
quot;internals" Sent: Sunday, February 19, 2006 12:48 AM Subject: Re: [PHP-DEV] True labelled breaks It's just something which to begin with isn't used that much. Grep'ed phpweb/ for it and found 0 occurrences of break n; and I believe the people developing it would be the ones

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Andi Gutmans
of allowing nested breaks. Am I very wrong? - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Saturday, February 18, 2006 9:30 PM Subject: Re: [PHP-DEV] True labelled breaks I think that

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
ruary 19, 2006 12:13 AM Subject: Re: [PHP-DEV] True labelled breaks This one time, at band camp, "Steph Fox" <[EMAIL PROTECTED]> wrote: > Seems to be 3rd wheel > Also steph, I cannot mail you @zend.com, I get user unknown error Everyone else's mail comes through OK, so

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Kevin Waterson
This one time, at band camp, "Steph Fox" <[EMAIL PROTECTED]> wrote: > > Seems to be 3rd wheel > > Also steph, I cannot mail you @zend.com, I get user unknown error > > Everyone else's mail comes through OK, so I think that was probably a > temporary issue. > > No idea what '3rd wheel' means...

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
user-friendly way of allowing nested breaks. Am I very wrong? - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: "Steph Fox" <[EMAIL PROTECTED]>; "internals" Sent: Saturday, February 18, 2006 9:30 PM Subject: Re: [PHP-DEV]

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
Seems to be 3rd wheel Also steph, I cannot mail you @zend.com, I get user unknown error Everyone else's mail comes through OK, so I think that was probably a temporary issue. No idea what '3rd wheel' means... - Steph -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Kevin Waterson
This one time, at band camp, "Steph Fox" <[EMAIL PROTECTED]> wrote: > Given that practically everyone who survived the preceding GOTO discussion > seemed to think it was a good idea at the time, could you please re-visit > it, evaluate it, discuss it (as opposed to talking about GOTO, which is

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Andi Gutmans
I think that in 1997 when break/continue n where implemented it would have been a nice idea, but at this stage except for being more elegant than break/continue n it doesn't truly add anything substantial to PHP (and as you already mentioned it's orthogonal to the goto discussion). I think havi

Re: [PHP-DEV] True labelled breaks

2006-02-18 Thread Ilia Alshanetsky
I'll avoid re-iterating all of the comments I've said back in December and simply summarize by saying -1. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] True labelled breaks

2006-02-18 Thread Steph Fox
Guys and guyess, Sara and Dmitry's patch to introduce labelled breaks was discussed on internals@ ever-so-briefly at the beginning of December, but there was never any decision made over it. Given that practically everyone who survived the preceding GOTO discussion seemed to think it was a g