what is a script in programming

what is a script in programming

1 year ago 47
Nature

A script in programming is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor. It is a computer language with several commands within a file capable of being executed without being compiled. Scripting languages are usually interpreted at runtime rather than compiled. Some languages have been conceived expressly as script languages, such as Perl, Rexx, JavaScript, and Tcl/Tk. Scripting is used to automate processes that would otherwise need to be executed step-by-step by a web developer. Scripting languages are easier and faster to code in than the more structured and compiled languages such as C and C++ . Scripting is primarily used to automate tasks for websites and web applications while using an existing program. Here are some key differences between coding and scripting:

  • Coding: Whenever you’re using a machine language to write instructions that a computer or computer program can understand, you’re coding. Programming is the process of developing a new program from the ground up.

  • Scripting: Scripting is code used to automate processes that would otherwise need to be executed step-by-step by a web developer. It is primarily used to automate tasks for websites and web applications while using an existing program.

In general, scripting languages are used to manipulate, customize, and automate the facilities of an existing system.

Read Entire Article