Sam Tobin-Hochstadt wrote:
On Wed, Nov 20, 2013 at 12:35 PM, Brendan Eich<[email protected]>  wrote:
>  I don't quite understand what Benjamin is running into.

I think that Benjamin's point is that generators allow you to use
synchronous programming models instead of async ones.  Then your
errors become exceptions instead of errback calls. So, whereas
ES5-style JS features very few exceptions, ES6-style will feature more
exceptions.  This increases the pressure on exception handling to be
nice, which it isn't because of the lack of catch guards.

Yeah, if you read up, you'll see that this became clear just recently in-thread.

Yay for refutable patterns, including in catch heads.

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to