ECMAScript 6和ECMAScript Harmony有什么区别? [英] What is the difference between ECMAScript 6 and ECMAScript Harmony?
问题描述
我搜索了一下,只是添加到混乱,因为它似乎我不是唯一一个不确定什么意思的人。这两个术语是否有正式的定义,可能由Ecma International本身定义?如果没有,至少有一个普遍接受的定义?
正如@JamesAllardice在评论中已经说过的, href =http://wiki.ecmascript.org/doku.php?id=harmony%3aharmony =nofollow> 和谐 是指所有提案,用于扩展符合常见 TC39委员会的目标。
然后选择其中一些和谐建议并将其并入各种规范草案为下一个版本的语言( ES-next ),目前是ES6。
由TC39委员会批准,因为持续的争议(不和谐 y)称为 straw-man 提案。
I thought that they were the same thing for a while, but I often see phrasing in blogs or in answers here that seems to imply that there is a difference between the two. Even SO has two distinct tags, but their description doesn't show any clear difference.
I searched around for a bit and it only added to the confusion as it seems that I am not the only one who's unsure about what means what. Is there an official definition for both of these terms, perhaps defined by Ecma International themselves? If not, is there at least a commonly accepted definition?
As @JamesAllardice already said in the comments, the term harmony refers to all proposals for extending the current (ES5) language that meet the common goals of the TC39 committee.
Some of these harmony proposals are then selected and incorporated into the various specification drafts for the next version of the language (ES-next), which is currently ES6.
Those proposals that were not (yet) approved by the TC39 committee because of ongoing disputes ("disharmony") are called straw-man proposals.
这篇关于ECMAScript 6和ECMAScript Harmony有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!