I just never understood why this is controversial.
First, I’m never going to correct someone that refers to html as a programming language, because I honestly don’t care and it doesn’t matter.
However, programming languages like C, JavaScript, Python, etc. are fundamentally different than languages like HTML, CSS, SQL, MarkDown, etc. Those have entirely different uses. So it’s kind of just not useful to group them all as “programming languages.”
Alan Mathison Turing OBE FRS (/ˈtjʊərɪŋ/; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher, and theoretical biologist.[6] Turing was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, which can be considered a model of a general-purpose computer.[7][8][9] He is widely considered to be the father of theoretical computer science and artificial intelligence.[10]
Turing completeness has never been a useful categorization for this matter. If minesweeper (or minecraft for the youngsters ;)) is turing complete does not tell much about its usefulness as a programming language. Same for CSS2/CSS3/whatever.
It's just in the definition of the word. A "program" is a series of steps or instructions for a computer to follow. HTML isn't that, it's more akin to a blueprint.
Very debatable. Some dialects (like PL/SQL) are programming languages or at least can be used as programming languages. But SQL in general isn't Turing-complete and isn't a programming language. It is query language.
Some SQL implementations are turing complete, for example PostgreSQL
I would argue Turing-completeness doesn't define a programming language, although it is a part of it. So SQL is still not a programming language even in Postgres.
A more general definition is a language meant for writing programs, and neither HTML docs nor SQL queries are supposed to be programs, although they are interpreted by programs
It's because HTML is the first thing many people learn nowadays. And of course, it's the beginning of the journey, but certainly not the end.
And you can learn enough of it to display something on a Web browser within an hour. This made a lot of people go "Look! I'm programming!" pretty quickly.
Which makes people feel the need to correct them.
Otherwise, getting mad at HTML is like getting mad at a coat hanger.
726
u/DontListenToMe33 Jun 01 '23
I just never understood why this is controversial.
First, I’m never going to correct someone that refers to html as a programming language, because I honestly don’t care and it doesn’t matter.
However, programming languages like C, JavaScript, Python, etc. are fundamentally different than languages like HTML, CSS, SQL, MarkDown, etc. Those have entirely different uses. So it’s kind of just not useful to group them all as “programming languages.”