Label statement moveable
Bob Myers
rtm at gol.com
Fri May 22 02:14:07 UTC 2015
Sorry, I forgot the smiley on my post.
Bob
---------- Forwarded message ----------
>>
> From: Brendan Eich <brendan at mozilla.org>
> To: Bob Myers <rtm at gol.com>
> Cc: es-discuss at mozilla.org
> Date: Thu, 21 May 2015 16:45:38 -0700
> Subject: Re: Label statement moveable
> Bob Myers wrote:
>
>> Can we also get goto statements?
>>
>
> No, although an out-of-shipping-date Opera engine supported them.
>
> Also, if we going to do gotos, then please implement computed GOTO.
>> FORTRAN has had that already for like 50 years.
>>
>
> Sorry, JS is not Fortran. Goto considered harmful, Dijkstra said -- plus
> naive Java verifier complexity is O(n^4) without extra stack/typemaps, due
> to goto.
>
> G-O-T-O in JS is spelled "Proper Tail Calls" and is in ES6.
>
> /be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150522/93edcd28/attachment.html>
More information about the es-discuss
mailing list