What is a scripting language
Scripting languages generally refer to simple programming tasks such as shell scripts. A scripting language is a special language between HTML and programming languages such as JAVA, Visual Basic, C++, etc. Although it is closer to the latter, it does not have the complex and rigorous syntax and rules of programming languages . There are many differences between system languages and scripting languages, but the main differences are: Level of abstraction: This is the most important and obvious difference. The scripting language provides a higher level of abstraction to the programmer. This is obviously manifested in the fact that in this language itself, there are advanced data structures, such as list and dictionary structures, and simple and convenient nesting and operations on this structure. This can create a very successful program.
Python is a computer programming language. It is an object-oriented dynamic type language. It was originally designed to write automated scripts (shell). With the continuous update of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
Python's design philosophy is "elegant", "clear", and "simple". Therefore, the Perl language "always have multiple ways to do the same thing" philosophy is usually intolerable among Python developers. The philosophy of Python developers is "one way, preferably only one way to do one thing".
When designing the Python language, if faced with multiple choices, Python developers generally reject fancy grammars and choose clear grammars that have no or little ambiguity. Due to this difference in design concepts, Python source code is generally considered to be more readable than Perl and can support large-scale software development.
Knowledge point expansion:
**The difference between scripting language and programming language: **
Generally, all scripting languages are considered programming languages. The main difference between the two languages is that the scripting language does not require any compilation, but is directly interpreted. For example, a written C+ program needs to be compiled before execution, while a scripting language like Javascript does not require any compilation.
The compiled code executes faster than the interpreted code because they are converted to native programs. In the compiler, the entire code is analyzed only once in the entire cycle, and the overall errors encountered are submitted. At the same time, the interpreter analyzes the entire program every time and stops execution when it encounters any errors.
Note that it needs to determine the environment while distinguishing between scripting languages and programming languages. Therefore, we can design a device for programming and use it as a scripting language. Similarly, Google Chrome's JS engine compiles JS programs into machine code instead of interpreting it.
Script language features:
Automate the required process into a program.
Obtain information from the provided data set.
It requires less code than modern programming languages.
Features of programming language:
Execute in script or other parent code.
After compilation, the Java programming language can be used on multiple platforms.
They are fully compatible with complex mathematical models.
So far, this article on whether python counts as a scripting language is introduced. For more related python content, please search for ZaLou.Cn's previous articles or continue to browse related articles below. Hope you will support ZaLou more in the future. .Cn!