Florian, you shouldn't pass the argument of explicit vs implicit coroutines
off as being so simple. There are many compelling arguments for both!
Please Google them!


On Sun, 26 Feb 2017 at 00:01, Florian Bösch <pya...@gmail.com> wrote:

> On Sat, Feb 25, 2017 at 11:55 PM, Codefined <codefi...@debenclipper.com>
> wrote:
>
> This seems to be so very confusing for anybody new studying this language,
> almost everyone I talk to gets stuck up on some part of it.
>
> Promises are bad, and mixing them with async/await is worse. Should never
> have been added to any kind of standard.
>
> async function asyncFunction() {let [err, data] = await asyncFunction()
> }
>
> function asyncFunction(){
>   return otherAsyncFunction();
> }
>
> Even simpler, you'd just need co-routines.
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to