1. A script or scripting language is a computer language with a series of commands within a file capable of being executed and does not need to be compiled. Good examples of scripting languages include Perl, PHP, and Python. A full list of scripting languages and other programming languages can be found through our programming language definition.
Advantages of a scripts
- Open source, allowing users to view and edit the script if needed.
- Does not require the file to be compiled, but may be able to be if needed.
- Easy to learn and write. Of course, this all depends upon the user's perspective and the actual language.
- Easy to port between different operating systems.
- Much faster to develop than an actual program. Some individuals and companies write scripts as a prototype for actual programs.
Disadvantages of scripts
- Open source, allows others to view source code, which may be prohibited by some companies.
- In some situations, may be slower than a compiled program.
- Requires the user to install an interpreter or separate program before the script can be run.