What is script?
- A script or scripting language is a computer language with a series of commands within a file that is capable of being executed without user interaction and without being compiled.
- Advantages of scripts
- Open source, allowing users to view and edit the script if needed.
- Does not require the file to be compiled, but may be when necessary.
- Easy to learn and write.
- 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, they may be slower than a compiled program.
- Requires the user to install an interpreter or separate program before the script can be run.