Home > Common Problem > What is the difference between scripting language and programming language

What is the difference between scripting language and programming language

清浅
Release: 2020-09-08 18:00:40
Original
39718 people have browsed it

The differences between scripting languages ​​and programming languages ​​are: 1. Scripting languages ​​do not require a compiler, eliminating the compilation process; while programming languages ​​require a compiler. 2. Scripting language is dynamic and can change the code in real time; while programming language cannot change the code in real time. 3. The scripting language is easy to learn, but lacks systematicity; the programming language is relatively mature.

What is the difference between scripting language and programming language

[Recommended course: JavaScript Tutorial]

Script language meaning:

Script languages ​​are computer programming languages ​​created to shorten the traditional write-compile-link-run process. Unlike traditional programming languages ​​such as Java and C, scripting languages ​​do not require a compiler, but an interpreter. In other words, the scripting language is interpreted and executed. For example, there is a special software, and this special software performs specific operations to interact with my software. The set of operations is the interpreter, and the operations performed are Scripting language, when we organize this software operation to complete a task, we are using scripting language for programming.

What is the difference between scripting language and programming language

Meaning of programming language:

Programming language is a formal language used to define computer programs. Compilation is a tool that translates defined code into binary code recognized by the computer, so programming languages ​​require a compiler.

The biggest difference between a compiler and an interpreter is that one is computer-oriented, and the other is a specific software or a certain part of the computer.

What is the difference between scripting language and programming language

Comparison between scripting languages ​​and programming languages

(1) Scripting languages ​​do not require a compiler, thus eliminating the need for a compilation process and reducing It takes longer to develop, and programming languages ​​need to be compiled, so it takes longer

(2) Scripting language is a dynamic language, which means that the code can be changed in real time without stopping the program. This It is an advanced feature. Programming languages ​​such as Java are static languages. Once compiled and run, the code cannot be changed unless the program is stopped.

(3) Scripting languages ​​are very easy to learn, but they are not comprehensive and systematic and the grammar is relatively loose. . Although high-level programming languages ​​are relatively difficult to learn, they have strong rules and can produce concise and beautiful codes, and their readability is relatively strong.

(4) Generally speaking, scripting languages ​​are less versatile, but they can be adjusted through specialized applications.

(5) With the development of technology, scripting languages ​​are actually becoming more and more powerful, and the boundaries with programming languages ​​are also blurred. For example, Python can be regarded as a programming language because it is very powerful. .

Summary: The above is the entire content of this article, I hope it will be helpful to everyone

The above is the detailed content of What is the difference between scripting language and programming language. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template