3 ms·
Markup language: describes content. Programming language: performs tasks. There are languages that fit both (such as Tex, and consequently, Latex), but this d
by scott_s 17y ago
Markup language: describes content.
Programming language: performs tasks.
There are languages that fit both (such as Tex, and consequently, Latex), but this does not preclude us from drawing a distinction between the two in clear-cut cases (such as HTML versus C).
- troels 17y ago> ... drawing a distinction between the two in clear-cut cases (such as HTML versus C). If anything, declarative languages (or markup languages if you prefer) are a sub-category of programming languages. Imperative languages are another sub-category.
- scott_s 17y agoTo me, a "programming language" is a language that allows me to express computations. Markup don't need any concept of computation, so I don't consider them programming languages.