Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nadaviv
on Aug 13, 2013
|
parent
|
context
|
favorite
| on:
The Future of Programming in Node.js
ES6's generators and the `yield` keyword plays very nicely with callback-based code, doesn't require any changes to the underlying libraries and gives you a much nicer syntax to work with.
See
https://github.com/visionmedia/co
JoshGlazebrook
on Aug 13, 2013
[–]
I've been looking at another library like the one you linked. Essentially the "yield" keyword can be compared to "await" in C#.
https://github.com/bjouhier/galaxy
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
See https://github.com/visionmedia/co