Hi Rick, to clarify you anwser a bit, yes you are right, generators in existing implementations are incomplete, as it is draft http://wiki.ecmascript.org/doku.php?id=harmony:generators it's even suprising that they are in any stable envirnonment(talking about Firefox).
But what in my opinion, is now importat that they are usable in node as coroutine solution to callback hell. If you have any notes on how current implementation would change in near future please let me know. Mario Dne neděle, 17. srpna 2014 5:19:56 UTC+2 Rick Waldron napsal(a): > > > > > On Sat, Aug 16, 2014 at 4:13 AM, Mario Vejlupek <[email protected] > <javascript:>> wrote: > >> Hi, >> >> - yes in general all nodejs functionaly works on all supported platforms >> - no it might, but not in near future as upcomming nodejs 0.12 and >> current Firefox has it already implemented >> > > Both are incomplete implementations. > > Rick > > >> >> Checkout http://koajs.com/ it aims to replace Express by using generator >> functions and avoiding callback hell >> >> Mario >> >> Dne čtvrtek, 14. srpna 2014 22:25:02 UTC+2 Alexey Petrushin napsal(a): >> >>> Want to try generators `node --harmony` but worried a little about: >>> >>> - if it works on all platforms? >>> - does the API stable and won't be changed in future? >>> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/96e3d152-bcd6-4e8b-948d-f4416af2470b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/nodejs/96e3d152-bcd6-4e8b-948d-f4416af2470b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/b54ebdbd-b7a3-4255-be99-e1aad5c2494b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
