gpt4 book ai didi

programming-languages - 什么是编程语言?

转载 作者:行者123 更新时间:2023-12-01 22:56:56 25 4
gpt4 key购买 nike

维基百科说:

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.

关于programming-languages - 什么是编程语言?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/869976/

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