为什么人们在每种语言开发后不久就为其创建标准(或规范)?
C++
In 1998, the C++ standards committee (the ISO/IEC JTC1/SC22/WG21 working group) standardized C++ and published the international standard ISO/IEC 14882:1998 (informally known as C++98).
Java
In 1997, Sun Microsystems approached the ISO/IEC JTC1 standards body and later the Ecma International to formalize Java, but it soon withdrew from the process.
JavaScript
In November 1996, Netscape announced that it had submitted JavaScript to Ecma International for consideration as an industry standard, and subsequent work resulted in the standardized version named ECMAScript.
这样的例子还在继续。
最佳答案
主要是为了确保不同的实现在语言的实际构成上达成一致,从而确保他们在用该语言编写的程序中接受和拒绝什么。
这很大程度上是由于早期许多语言(例如 Lisp)没有标准化,从而导致了碎片化和不兼容性。
关于programming-languages - 为什么人们要创建编程语言标准,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11783724/