Generalize do-expressions to statements in general?

Andreas Rossberg rossberg at google.com
Thu Jul 16 13:38:50 UTC 2015


On 16 July 2015 at 15:21, Bob Myers <rtm at gol.com> wrote:

> With all "do" respect, none of this syntax tinkering makes any sense to me.
>
> I've been programming JS for 15 years and never noticed I needed a try
> block that returns a value.
>
> Long ago I programmed in a language called AED that had valued blockl,
> which I was quite fond of, but never felt the need for that in JS for
> whatever reason.
>

I've been programming in C++ for 25 years, and didn't have much need for a
try expression or nested binding either.

I've also been programming in functional languages for 20 years, and need
them on a regular basis.

It all depends on how high-level your programming style is. Also, Sapir
Whorf applies as usual.

/Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150716/9e9c5efb/attachment.html>


More information about the es-discuss mailing list