What is difference between markup language , scripting language and programming language | SoloLearn: Learn to code for FREE!

+7

What is difference between markup language , scripting language and programming language

7/23/2019 5:16:11 PM

Mayra

8 Answers

New Answer

+17

Markup languages describe how text is laid out for presentation or web page display. Scripting languages generally aren't compiled, but interpreted. In some ways this makes them faster, however they are usually not suitable for general purpose programming. Programming languages are compiled from human friendly language to something the machine understands.

+11

In summary, all scripting languages are, in fact, programming languages. The main difference between the two is that scripting languages do not require the compilation step, but interpretation at runtime. For example, a C or C++ program needs to be compiled before running, whereas scripting languages like JavaScript or PHP require only interpretation at runtime (no compilation step).

+9

Python is a general purpose programming language that is also used for scripting. Java is also classified as a general purpose programming language

+6

Java has to be compiled into bytecode before it can be ran. Therefore it is classified as a general purpose programming language

+5

Ace, is Python a scripting language or a programming language? You can do general programming, and although the standard is to interpret, you can compile. Also Python uses a sort of bytecode, so wouldn't it be between scripting or programming? And if Python is a scripting language, wouldn't Java by extension also be one?

+3

Ace, then, by extension, Ruby and Javascript (the latter with a little help) would also have to be a general purpose programming language, right? What would be an example for a true scripting language? (I know, I look a bit late asking that sort of question, but well, normally you don't mind, you just use it. 😅)