gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 18:15:37 26 4
gpt4 key购买 nike

就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the help center寻求指导。




9年前关闭。




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

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com