News for hackers. Stuff that matters.
Re:Type Checking in JavaScript by camus2 on Wednesday November 06, 2013 @08:05AM (#6682459)
You still need to write functions ,that's the issue. => functions will make things a bit better,but await and generator syntax are the key to solve some issues.
Re:Type Checking in JavaScript by esailija on Wednesday November 06, 2013 @09:47AM (#6682902)
Generators and await don't really give anything substantial after promises except less superficially verbose syntax and not even that when using CoffeeScript where `return` and `function(){}` are really light-weight. Actually what issues generators and await solve are same as what CoffeeScript "solves".

Although with generators you "can use normal control flow constructs". Except in most cases you probably use map or forEach instead of loops anyway. And try-catch is really broken.