框架、编程语言和脚本语言是什么意思? [英] What is meant by framework, programming language and scripting language?
问题描述
框架、编程语言和脚本语言是什么意思?
What is meant by framework, programming language and scripting language?
推荐答案
我认为 Daniel Pryden 的观点非常好 - 我投票支持他.我只想添加一些小的补充.
I think Daniel Pryden's points are excellent - I voted him up. I'd just like to add a couple of minor additions.
C 和 C++ 等编程语言曾经有一个编译和链接步骤,可将源代码呈现为由操作系统运行的机器语言形式.
Programming languages, like C and C++, used to have a compiling and linking step that rendered the source code into a machine-language form that was run by the operating system.
脚本语言,如 Unix Bourne、Korn 和 C shell,不像 C 和 C++ 那样被编译或链接.(感谢 Daniel Pryden 对 Unix 脚本语言的更正和引用.)
Scripting languages, like the Unix Bourne, Korn, and C shell, were not compiled or linked like C and C++. (Thanks to Daniel Pryden's correction and citation of the Unix scripting languages.)
由于虚拟机在 Java、Python 和 C# 等语言中变得如此普遍,脚本和编程之间的区别已经变得模糊.
Since virtual machines have become so common in languages like Java, Python, and C#, the distinction between scripting and programming has been blurred.
至于库和框架的区别:你的代码在库中链接并调用它们.这与框架不同,因为您的代码已插入到框架中.这就是著名的好莱坞原则:不要给我们打电话,我们会打电话给你."
As for the distinction between libraries and frameworks: your code links in libraries and calls them. This is different from a framework, because your code is plugged into the framework. It's known as the Hollywood principle: "Don't call us, we'll call you."
这篇关于框架、编程语言和脚本语言是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!