Difference between scripting language and programming language??

Answer Posted / me

Not that it *really* matters, but strictly speaking a
programming language indicates that the written code has to
be compiled using a compiler for the target platform
(Windows, Unix etc), before it can be executed, like for
instance you compile C++ code into an exe file that you can
run by double-clicking it.

A scripting language is a script that is loaded into and
executed by a parser, like for instance javascript.

The javascript parser (or engine) itself would be a program
that is compiled, executed and is running in memory. The
javascript that we then add, is loaded by the engine and
then executed (parsed).

The same thing goes for web pages, the webbrowser (internet
explorer for example) is written in a programming language,
then compiled into an exe (iexplore.exe) and runs in memory
when you start it. The web page is written in HTML (for
example) and loaded into your browser. The browser parses
the HTML script and shows you the webpage.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why "self" is needed instead of "this".

586


To write messages to the screen without using "document.write()"?

540


Are javascript variables global?

567


What is lambda in programming?

536


How to get checkbox status whether it is checked or not?

594






How is a relation not a function?

578


What is the reason for wrapping the entire content of a javascript source file in a function book?

660


Write the point of difference between web-garden and a web-farm?

586


How to open url in a new tab in javascript?

604


Is everything in javascript asynchronous?

543


What is the benefit of arrow functions?

547


What is node value?

581


Which built-in method removes the last element from an array and returns that element?

570


What is a callback url?

594


What is DOM? What is the use of document object?

618