programming-languages - 为什么人们要创建编程语言标准

标签 programming-languages standards specifications

为什么人们在每种语言开发后不久就为其创建标准(或规范)?

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/

相关文章:

oop - 为什么静态解析虚拟方法调用如此困难?

posix - Shebang (#!) 是否标准化?

java - 规范和政策之间的区别?

c - 为什么 void main() 如此受欢迎?

c++ - 基本 C++ 类型何时具有未知的初始值?

java - 与JSE JavaDoc相比,可以存在哪些类层次结构差异?

pdf - PDF (XMP) 格式的每页信息规范

llvm - 哪些语言可以编译为 WebAssembly (Wasm)?

programming-languages - 有没有面向上下文的编程语言,它们有什么用?

programming-languages - 学习 Ada 而不是其他语言 [c++, c#] 值得吗?