Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Managing Node.js Callback Hell with Promises, Generators and Other Approaches. Parent comment
You wouldn't even need that one callback, just:
return find_largest(get_stats(read_files(dir)));
Exceptions are propagated as you would expect from synchronous code, despite being async under the hood.
There are no comments on this comment yet.
You wouldn't even need that one callback, just:
return find_largest(get_stats(read_files(dir)));
Exceptions are propagated as you would expect from synchronous code, despite being async under the hood.