News for hackers. Stuff that matters.
Re:Pseudosynchronous JavaScript by inglor on Thursday June 25, 2015 @08:24AM (#9777338)
The reason this works is that promises are already representative of queues of pending values. To contrast, here's the ES7 version (works with babel) I added to the gist https://gist.github.com/benjamingr/d08cfe94d3f0db1f954d#file...

It's awesome that it's a post by someone who just attended the recourse center and they're a new programmer and already struggling with these interesting issues and trying to solve them - but I beg people who attack these issues to read existing material :)

Re:Pseudosynchronous JavaScript by chimeracoder on Thursday June 25, 2015 @08:41AM (#9777421)
> It's awesome that it's a post by someone who just attended the recourse center and they're a new programmer and already struggling with these interesting issues and trying to solve them

FYI, not everyone who attends the Recurse Center is a new programmer. In this particular case, Michelle (the author) has a decade and a half of experience developing in Javascript and writing Javascript frameworks (ie, writing the frameworks themselves).

Re:Pseudosynchronous JavaScript by inglor on Thursday June 25, 2015 @04:12PM (#9780608)
Thanks for clarifying, I did not know that - I'll make sure I check this sort of stuff in the future.