+ 5

What is the difference between programming language & scripting language ?

28th Sep 2019, 12:52 PM
Rajan K
Rajan K - avatar
2 Answers
+ 5
FOLLOW ME Basically, all scripting languages are programming languages. The theoretical difference between the two is that scripting languages do not require the compilation step and are rather interpreted. For example, normally, a C program needs to be compiled before running whereas normally, a scripting language like JavaScript or PHP need not be compiled.   Generally, compiled programs run faster than interpreted programs because they are first converted native machine code. Also, compilers read and analyze the code only once, and report the errors collectively that the code might have, but the interpreter will read and analyze the code statements each time it meets them and halts at that very instance if there is some error. In practice, the distinction between the two is getting blurred owing to improved computation capabilities of the modern hardware and advanced coding practices.   Another point to be noted is that while classifying a language as scripting language or programming language, the enviro
28th Sep 2019, 1:15 PM
KfirWe
KfirWe - avatar