What is meant by framework, programming language and scripting language?

前端 未结 4 1472
暖寄归人
暖寄归人 2020-12-29 05:20

What is meant by framework, programming language and scripting language?

4条回答
  •  温柔的废话
    2020-12-29 05:44

    I think Daniel Pryden's points are excellent - I voted him up. I'd just like to add a couple of minor additions.

    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.

    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.)

    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."

提交回复
热议问题