await/async are de-facto co-routines. await/async will infect all code by necessity of software engineering. At which point they're actual co-routines, implemented badly, without a proper API.
On Sun, Feb 26, 2017 at 3:26 PM, Jerald Cohen <cohenjera...@gmail.com> wrote: > Florian, > > You sure you're not just adding more complexities to a language with > features that were _meant_ to remove such complexity? > > Codefined's solution to me seems to be the one with the least amount of > added techniques in order to learn. Although I understand how co-rountines > are awesome, they can quickly get very confusing when you switch contexts. >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss