Static language
When you write code, you must specify a specific type of language for the variable. such as Java, C + +
Dynamic language
Instead of specifying an explicit type for a variable when writing code, the interpreter determines the type of the variable at run time, based on the usage of the variable. such as Python, JavaScript
# python's dynamic characteristics m = ten'hello'print m #print ' Hello '
Strongly typed languages
The variable must have a certain type. such as Java, C + +, Python
Weakly typed languages
At run time, the variable does not have to be used as its original type, and can be used as other types, such as the ability to directly use a string as an integer, or an integer as a string. Like JavaScript.
// the weak class characteristics of JavaScript var result=5+5//outputs "ten"var result=5+ ' 5 '// Outputs " "
scripting language
The scripting language does not need to be compiled, can be used directly, and is interpreted by the interpreter. such as PHP
Interpreted language
The program side performs the side explanation, so the speed is slow. Every time you perform a translation, it is less efficient.
Compiled languages
Before the execution of the program, there is a separate compilation process, the program compiled into machine language files, such as EXE files, later to run the words do not have to re-translate, so high efficiency.
python--static languages, dynamic languages, strongly typed languages, weakly typed languages, scripting languages, interpreted languages, compiled languages