不成熟的标准化
repair as many of the problems with the language as possible while minimizing the pain of disruption. New syntax was considered only when it was already implemented and proven in at least three of the four major browsers. Feature selection tended to favor necessary improvements over desirable improvements.
另一项提议被称为ES3.1。它的名字暗示它相比于现在的ES3只有较少的变革。这个项目的目标是修复语言中存在的诸多错误。新的句法只有在至少三至四个主流浏览器植入并测试过之后才会被考虑加入。他们更多的选择必须的特性,而不是可拥有的特性。 ES3.1 was more minimal in approach. The set of feature interactions was much smaller and much easier to reason about. ES3.1 is likely to complete its specification and will be the candidate for the Fourth Edition. ES3.1更容易接受。新特性的吸引力会较小,但是也更容易实现。ES3.1也可能完成它的文档,从而成为ES真正第四版的候选。 ES4 had a large head start (by as much as seven years by some estimates), but was unable to meet its deadlines. Ultimately, the project fell apart when some of the key members left. ES4的制定起步很早(估计至少7年之前),然而我们看不到它到底什么时候能结束。最终,由于核心成员的离去,这项工程被搁浅。 Some of the features that were in ES4 were reasonable, so a new project, called Harmony, is starting which will look at adapting the best of ES4 on top of ES3.1. The success of this project will depend on the ability of TC39 to do a better job of managing the tradeoffs between innovation and stability, and adopting a discipline for managing complexity. Simplicity should be highly valued in a standard. Simplicity cannot be added. Instead, complexity must be removed. 现在,由ES4引入的一些合理的新特性,重新成为了一项新项目,被称为Harmony。这个项目的成功与否取决于TC39权衡创新与稳定二者的能力,以及对复杂度的管理上。在某种程度上,简约应受到足够的重视,而不应被矫饰。所以,一些冗余必须被剔除。 It turns out that standard bodies are not good places to innovate. That’s what laboratories and startups are for. Standards must be drafted b |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |