Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why I am switching to promises. Parent comment
Example: https://github.com/spion/async-compare/blob/master/examples/...
With promises, generators are not really necessary -- especially if you add arrow function syntax into the mix. https://gist.github.com/spion/8254661
(Note: that particular method in doxbee has long since been refactored to something saner with better separation of concerns :)
There are no comments on this comment yet.
Example: https://github.com/spion/async-compare/blob/master/examples/...
With promises, generators are not really necessary -- especially if you add arrow function syntax into the mix. https://gist.github.com/spion/8254661
(Note: that particular method in doxbee has long since been refactored to something saner with better separation of concerns :)