Re: [PHP] Long Live GOTO

2012-02-07 Thread Tedd Sperling
On Feb 6, 2012, at 11:28 AM, Larry Martell wrote: > Just for another data point, the FAA does not allow gotos in any code > that goes into an airplane. That settles it -- the government knows best. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing

Re: [PHP] Long Live GOTO

2012-02-06 Thread Jim Giner
"Robert Cummings" wrote in message news:4f30086a.6080...@interjinn.com... 1) deal with the trivial and error cases first > > Some say you should never return early from a function... I too think that > early returns can improve the readability of a function-- > especially if they are short sn

Re: [PHP] Long Live GOTO

2012-02-06 Thread Jim Giner
"Adam Richardson" wrote in message news:cac6cjqz5wku8c9ruqgc4rqg5cq35a-lfs1rryos3wtfys6r...@mail.gmail.com... > On Mon, Feb 6, 2012 at 10:05 AM, Robert Cummings > wrote: > >> On 12-02-06 04:07 AM, Tim Streater wrote: >> >>> On 06 Feb 2012 at 07:47, Adam >>> Richardson> >>> wrote: >>> >>> Whil

Re: Re: [PHP] Long Live GOTO

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 11:58 AM, Tim Streater wrote: > On 06 Feb 2012 at 09:48, Adam Richardson wrote: > > > On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardson >wrote: > > > >> On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater > wrote: > > >> I disagree that the nested function is a straw-man. I (just

Re: [PHP] Long Live GOTO

2012-02-06 Thread Robert Cummings
On 12-02-06 11:58 AM, Tim Streater wrote: On 06 Feb 2012 at 09:48, Adam Richardson wrote: On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardsonwrote: On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater wrote: I disagree that the nested function is a straw-man. I (just as the other authors I'd linked

Re: Re: [PHP] Long Live GOTO

2012-02-06 Thread Tim Streater
On 06 Feb 2012 at 09:48, Adam Richardson wrote: > On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardson wrote: > >> On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater wrote: >> I disagree that the nested function is a straw-man. I (just as the other >> authors I'd linked to describing the "arrow" pattern

Re: [PHP] Long Live GOTO

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 10:05 AM, Robert Cummings wrote: > On 12-02-06 04:07 AM, Tim Streater wrote: > >> On 06 Feb 2012 at 07:47, Adam >> Richardson> >> wrote: >> >> While not purely focused on PHP, I toss this out to the group because I >>> believe there are some novel, interesting points rega

Re: Re: [PHP] Long Live GOTO

2012-02-06 Thread Tim Streater
On 06 Feb 2012 at 15:05, Robert Cummings wrote: > I've had a strong opinion on goto for a very long time. I was one of the > proponents who argued on internals for its inclusion several years ago. > I stand by its utility and refer the reader to the fact that many open > source projects, especia

Re: [PHP] Long Live GOTO

2012-02-06 Thread Robert Cummings
On 12-02-06 04:07 AM, Tim Streater wrote: On 06 Feb 2012 at 07:47, Adam Richardson wrote: While not purely focused on PHP, I toss this out to the group because I believe there are some novel, interesting points regarding the potential benefits of using the goto construct as implemented in PHP:

Re: [PHP] Long Live GOTO

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 4:25 AM, Adam Richardson wrote: > On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater wrote: > >> On 06 Feb 2012 at 07:47, Adam Richardson wrote: >> >> > While not purely focused on PHP, I toss this out to the group because I >> > believe there are some novel, interesting points

Re: [PHP] Long Live GOTO

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 4:07 AM, Tim Streater wrote: > On 06 Feb 2012 at 07:47, Adam Richardson wrote: > > > While not purely focused on PHP, I toss this out to the group because I > > believe there are some novel, interesting points regarding the potential > > benefits of using the goto construc

Re: [PHP] Long Live GOTO

2012-02-06 Thread Tim Streater
On 06 Feb 2012 at 07:47, Adam Richardson wrote: > While not purely focused on PHP, I toss this out to the group because I > believe there are some novel, interesting points regarding the potential > benefits of using the goto construct as implemented in PHP: > > http://adamjonrichardson.com/2012