r/ProgrammerHumor • • Jun 01 '23

Meme HTML is not a programming language

Post image
9.1k Upvotes

500 comments sorted by

View all comments

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.”

272

u/Quito246 Jun 01 '23

I mean It is like ordering steak and getting pizza instead both are food, but different. Classification of languages exist for a purpose…

73

u/[deleted] Jun 01 '23

[removed] — view removed comment

64

u/ThisUserIsAFailure Jun 01 '23

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]

Seems pretty clear to me

32

u/meyerdutcht Jun 01 '23

I’ll believe C is Turing complete when I can buy an infinite tape.

11

u/GisterMizard Jun 01 '23

Sure, they sell them over at the infinite Ikea.

→ More replies (2)

30

u/TehBens Jun 01 '23

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.

22

u/WhippetsandCheese Jun 01 '23

Great video out there about PowerPoint being Turing complete

5

u/Yorunokage Jun 01 '23

Well, a "language" has a strict mathematical definition and minecraft most defenetly isn't one unless you really stretch it

A turing machine isn't either for that matter

→ More replies (8)
→ More replies (1)
→ More replies (7)
→ More replies (12)

50

u/SarahSplatz Jun 01 '23

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.

43

u/jjdmol Jun 01 '23

People mistake the markup annotations of an HTML document to be computer instructions, I suppose.

0

u/[deleted] Jun 01 '23

[deleted]

→ More replies (5)
→ More replies (10)

26

u/Realinternetpoints Jun 01 '23

It’s right there in the name innit? Markup Language

→ More replies (9)
→ More replies (33)

49

u/Demistr Jun 01 '23

SQL definitely is a programming language.

37

u/vonabarak Jun 01 '23

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.

81

u/maximal543 Jun 01 '23

Deba-table?

25

u/[deleted] Jun 01 '23

The most sane discussion member here

24

u/DannarHetoshi Jun 01 '23

"Drop Table mic"

18

u/TehBens Jun 01 '23

I don't see how not being turing complete stops something from being a programming language.

19

u/[deleted] Jun 01 '23

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

20

u/TehBens Jun 01 '23

A more general definition is a language meant for writing programs

Yeah, that's it. It's so weird ppl refuse that simple truth. Talking about turing completeness sounds much more smart, however.

→ More replies (1)
→ More replies (6)
→ More replies (11)
→ More replies (25)

8

u/Acceptable-Tomato392 Jun 01 '23

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.

→ More replies (10)
→ More replies (45)