TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fighting Node callback hell with PureScript

2 pointsby andreypoppalmost 11 years ago

1 comment

gfxmonkalmost 11 years ago
While PureScript looks very cool, if you&#x27;re interested in solving callback hell without changing the whole language, StratifiedJS is a superscript of JS that adds straightforward sequential-style code which is async under the hood, with a bunch of concurrency constructs built into the language:<p><a href="http://onilabs.com/stratifiedjs" rel="nofollow">http:&#x2F;&#x2F;onilabs.com&#x2F;stratifiedjs</a><p>(Also, not terribly relevant to the discussion, but the fact that almost every line is abruptly broken mid-word without any hyphenation makes the article rather jarring to read)