Programming VS Scripting

We must know that scripting languages are different from programming languages in some points I found it through internet I think it is very useful:

programming:

1-Definition:is an artificial language designed to communicate instructions to a machine, particularly a computer
2- Code :is making a full code of program

3-Runs:runs independent of an exterior (or parent) program

4-Design:is designed to get maximum effect

5-Execution:Programming language is self executable

6-Compilation: are compiled

7-Complexity:are complex

8-Usage: most of time  means  to develop something from scratch

9-Example:C, C++, C# etc

Scripts:

1-Definition :is a programming language that allows control of one or more applications.

2-code: are just a peace of code

3-Runs : run inside another program

4-Design:is designed to make coding fast and simple

5-Execution :Scripting language requires a host

6-Compilation: are not compiled but interpreted

7-Complexity:easy to use and easy to write

8-Usage:Scripting is used to combine existing components

9-Examples:JavaScript, GameMonkey, Lua etc

So we end up to

JavaScript is an interpreted language, not a compiled language. A program such as C++ or Java needs to be compiled before it is run. The source code is passed through a program called a compiler, which translates it into bytecode that the machine understands and can execute. In contrast, JavaScript has no compilation step. Instead, an interpreter in the browser reads over the JavaScript code, interprets each line, and runs it. More modern browsers use a technology known as Just-In-Time (JIT) which compile js on the fly

Leave a comment