TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fighting Node callback hell with PureScript

2 点作者 andreypopp将近 11 年前

1 comment

gfxmonk将近 11 年前
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)