Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When to use a scripting language? [closed]

When should one use a scripting language over a more verbose, compiled language like C++. C# or Java?

And to make the question a little more interesting, let's answer the questions like this:

You should use a scripting language when... BLANK...

When you need A use scripting language X.

When you need B use scripting language Y.

When you need C use scripting language Z.

like image 978
Alex Baranosky Avatar asked Dec 29 '08 10:12

Alex Baranosky


People also ask

When should you use scripting language?

As with scripts in general, scripting languages are mostly used to automate processes at the application level. At the command line or through a web server, they are able to execute programs running on a web server and display the appropriate results to the users.

What are scripting languages used for?

A scripting language is a type of computer programming language used to provide instructions, called scripts, to software. Scripts contain a series of commands that a software, application or scripting engine interprets one at a time within a runtime environment.

What is the difference between scripting language and completed language?

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.

What is the difference between a scripted and compiled language?

'Compiled' means that a programming language has its own compiler that translates the syntax into machine code before runtime. In contrast, scripting languages are interpreted line by line during runtime by the interpreter of the platform they are running on.


1 Answers

You should use a scripting language when speed of development is more important than speed of execution.

like image 106
Paul Stephenson Avatar answered Oct 02 '22 00:10

Paul Stephenson