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

What are the various functional components in javascript?

692


How do you disable javascript?

622


How can you to add javascript to a page when performing an asynchronous postback?

642


Why do we need npm?

642


Does javascript support foreach loop?

701


How to toggle display an html element?

718


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

758


Can you pass a anonymous function as an argument to another function?

756


what is a dataset

1760


How and where javascript namespacing is used?

632


How to comment javascript code?

681


What percentage of websites use javascript?

677


What is the potential disadvantage of using a sticky session?

623


How typeof operator works?

736


Is dart better than javascript?

622