What are Scripts – Troubleinthepeace

You are interested in questions do not know What are scripts? Then let’s solve that question right below.

You are viewing: What are Scripts

What are scripts?

Script or scripting language is a computer language with a series of commands in a file capable of being executed without compilation.

Good examples of server-side scripting languages ​​include Perl, PHP, and Python. The best example of Script on the client is JavaScript.


Advantages of Scripts:

Open source , allowing users to view and edit scripts as needed . No files to be compiled , but can be as needed . Easy to learn and write . Easy to switch between different operating systems . Development much faster than a reality show – some individuals and companies write scripts as prototypes for reality shows.

Cons of Scripts:

Open source, allowing others to view the source code may be prohibited by some companies. Require users to install an interpreter or separate program before scripts can run. In some situations, they can may be slower than a compiled program.

Difference between Script and programming language

Basically, all Scripts are programming languages. The theoretical difference between the two is that programming languages ​​are complex and confusing, hard to learn. They are compiled and created an executable. Meanwhile, because Script is closer to natural language, it is easier to learn, write and master than programming languages. Scripts are interpreted and do not need to create an executable.

See also: What is Iconic – Meaning of the word Iconic


The code of the programming language is compiled and binary and converted to machine code in one go. With Script, high-level commands are instantly converted into machine language. Due to the shorter syntax and statements of Scripts, using Scripts will take less time than programming languages ​​because it requires a lot of code to be written.

Programming languages ​​are designed in such a way that the programmer can take full advantage of the features of the language. Whereas Script is designed to make programming faster and simpler. Scripts only need less lines of code and still create functionality while with programming languages. You will need more lines of code for each similar function.


Whereas, programming languages ​​are often used to build a product from scratch. Scripts can be used to combine with existing components or modules.

Although the maintenance cost of a programming language is quite significant, Scripts need a server to host while programming languages ​​do not.

See more: What is a Webinar – The Most Professional Webinar Solution

Examples of Script PHP, JavaScript, VB Script, Python, Ruby, … while C, C++, C#, Java, VC++, COBOL, Pascal, … are the traditional programming languages ​​used.

So, at the end of this article we know what Script is? What is the difference between a Script and a programming language? Hope this article will be useful to you.


About Troubleinthepeace

Troubleinthepeace specializing in synthesizing information about daily life activities

View all posts by Troubleinthepeace →

Trả lời

Email của bạn sẽ không được hiển thị công khai.