Are Mark Up languages ​​considered programming languages?

All markup programming languages?

For example, are XML or HTML programming languages?

+3
source share
4 answers

The term “programming language” is not strictly defined so that it has a good answer. It depends on the context in which the term is used. In many contexts (usually when languages ​​such as C ++, D, or Java are mentioned), "Ting Complete" should be a "programming language." However, XML and HTML meet a softer set of criteria. They have grammar and text tools to express on the computer what you want. Therefore, in some contexts they can be considered as declarative programming languages.

+5
source

Markup languages ​​can more accurately be called Data Description Languages. They describe your data.

While programming languages ​​are used to tell the computer to execute logic.

+5

. , ( XMLish), , .

+1

, , HTML XML .

, HTML JavaScript, . , "X" XML eXtensible. () , , XML. XML . , , ( , ) , , , 't .

There are more borderline cases (for example, defining animations in HTML with CSS), but when they get closer to the border, at least nothing happens directly to me that really crosses the border to such an extent that you definitely call either a programming language.

0
source

Source: https://habr.com/ru/post/1729450/


All Articles