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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What if we had a great standard library in JavaScript?

2 点作者 werencole大约 9 年前

2 条评论

sargas大约 9 年前
JavaScript could benefit from a better standard language. But this isn&#x27;t the biggest concern since the language is &quot;friendly enough&quot; to write most tasks in.<p>The other point this article points is that the JS committee is adding more features to the language. While most of them are great, if they keep adopting every feature form other languages that they think are &quot;neat&quot; the language will become like the chicken-pig-goaty thing the article describes.<p>It will become C++Script.
vdnkh大约 9 年前
I don&#x27;t know if a standard library would actually fix the problem of package over-use. I keep seeing examples of projects importing _ or something similar when the feature they use <i>already</i> exists in the standard. You don&#x27;t need _ for map anymore. You can lead a horse to water, etc.