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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

ES2015 is not backward compatible with ES5

4 点作者 tbassetto将近 10 年前

1 comment

Nadya将近 10 年前
I dislike it was made with as clickbait - but on the other hand I probably wouldn&#x27;t have read the entire thing otherwise... so I&#x27;ll tolerate it this time!<p>TL;DR:<p>The breaking changes only occur in rare, isolated, and &quot;who would even do that?&quot; scenarios.<p>My opinion on the matter:<p>I&#x27;ve always had a huge dislike for (most) cases of backwards compatibility when it sacrifices potential progress to avoid breaking things of the past. Why should everyone be dragged down instead of others forced to improve?<p>It saddens me that backwards compatibility and &quot;reaching the largest audience&quot; is the reasons for this: marketing. A &#x27;reliable&#x27; tool that isn&#x27;t going to break all your old code 3 releases later is more likely to be used for production to avoid maintenance&#x2F;rewriting of legacy code.<p>So I know &quot;why&quot; - but dislike that that is how things work.