|
A script basic and primary objective is to run a program or instruction repeatedly and simplify complex tasks as many times as necessary. Some programmers, however, increased the simple script languages, making them so well elaborated that they started to be used to write programs. The use of scripts on programming is quite common today, but programs made with scripts help are often called scripts still, even if they aren’t just automating simple sequences of user tasks anymore.
To explain the difference between scripts and programs, a basic description is that a computer interprets the scripts, while it executes the programs. The scripts also get an edge over if compared to many programs, because their computer code can be directly executed to run a sequence of commands, contrary to almost all programs, which need to be compiled by the operating system to be executed and, then, they run by themselves. In spite of this evidence, many people still say that a script is nothing more than a program that runs in an interpreter.
Basically, a script isn’t just a primary script anymore when it does more complex things than it used to do, like the initial return of values. For example, the most famous script today is the JavaScript language. It’s compared to Java, but many people don’t consider it as a program yet because it’s limited and isn’t compiled before the execution. It does basic function online on Internet, incorporated to HTML documents. Another script, the CGI, that has its version as a program too (in this case, it has to be compiled), creates graphics, connect to other Internet information servers and access databases, returning results.
In the scripting languages, programming doesn’t depend all the time on the specific hardware characteristics. They define how the objects must interact, and these languages combine components of other developed languages and, for this reason, they are also called as glue languages or system integration languages. Other advantage of the script language is that many of them are available on the net, and can be downloaded gratuitously.
|