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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Who is still using PureScript?

2 点作者 platz大约 1 年前
Who is still using PureScript, and perhaps more importantly, select it over TypeScript for new or an actively maintained project? pros? cons?

1 comment

wryoak大约 1 年前
Last year I was briefly contracting somewhere using a Scala x PureScript stack. I believe their reasoning for picking PureScript in the first place out of other compiled JS options was conceptual similarity to Scala.<p>I would claim cons for their choice were very lengthy build times and very spotty tooling support (most devs didn’t have any IDE functionality and things like linting were done by hand). Probably the main reason is just that they had sooo much code that the LSP couldn’t handle features like definition jumping and type sanity checks. As for the linting, that was a devops oversight: it would have been an easy get that they never prioritized. Some of these tooling issues may also be resolved by more recent renditions of the LSP. Surprisingly, PS seemed to be only rarely the impediment to onboarding devs without FP backgrounds.<p>Pros are that, yes, it did have conceptual overlap with their backend (using Cats), and since most of their applications did the same form-based CRUD tasks just across different data sets in the domain, they had honed really efficient library idioms for rapidly building new apps with just a handful of type signatures. And they were indeed deploying a lot of apps to replace the legacy versions of their suite (a couple dozen per sprint).