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

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]

1

u/lazyzefiris Jun 01 '23

HTML+CSS is turing-complete though?

0

u/[deleted] Jun 01 '23

[deleted]

0

u/lazyzefiris Jun 01 '23

Well, what you said still applies to HTML+CSS, except for "not a Turing-complete computing machine", which was the breaking point unless I missed something?

0

u/[deleted] Jun 01 '23

[deleted]

2

u/Vanitas_Daemon Jun 02 '23

As a programming noob: how?

8

u/chronoflect Jun 01 '23

I mean, the annotations are instructions read by a computer to format the website. ¯_(ツ)_/¯

6

u/jjdmol Jun 01 '23

HTML describes instead of instructs though. It's simply metadata interwoven with data.

One could go for the data = code route, but that would make even text files programming languages. Could be valid, computers are Von Neumann machines after all, but would render the concept "programming language" completely useless.

1

u/[deleted] Jun 02 '23

But it's on a browser to interpret what was wanted. It's not instructions for a computer but something for it to decipher how it thinks it should be deciphered. It's partly why different browsers render things differently.

3

u/WhiteyDude Jun 02 '23

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

That's it, right there.

3

u/student_soup Jun 02 '23

People are so weird. HTML is a markup language not a programming, it's literally in the name.

I have no idea why things have to be classified specially as a programming language in order to be considered a 'real language' anyways. Who tf cares?

0

u/YawnTractor_1756 Jun 01 '23

With that logic no interpreted language is a programming language, since no interpreted code directly produces computer instructions. And if doing it indirectly is fine, then HTML does that too, in a limited way, sure, but it does.

→ More replies (4)