programming-languages之什么是编程语言

mq0036 阅读:200 2025-06-02 22:19:02 评论:0

维基百科说:

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that specify the behavior of a machine, to express algorithms precisely, or as a mode of human communication.



但这是真的吗?今天早上洗澡时我突然想到,编程语言可能只是一组约定,人类和适当安排的编译器都可以解释的东西。如果是这样的话,那么这个编程语言的定义难道不是在误导吗?如果不是这样,那么编译器和它编译的语言之间有什么区别?

谢谢!

z。

请您参考如下方法:

编程语言正是那套约定,但我不明白为什么这会使维基百科条目具有误导性,真的。如果它让您感觉更好,您可以编辑它以阅读以下内容:

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to define programs that specify the behavior of a machine, to express algorithms precisely, or as a mode of human communication.


标签:编程语言
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号