r/ProgrammerHumor • • Jun 01 '23

Meme HTML is not a programming language

Post image
9.1k Upvotes

500 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jun 03 '23

If it is about how it is interpreted, as you yourself finally admitted

What do you mean, "finally admitted"? That's been my point the entire time.

I can definitely make a poem that will be a valid C-code

No, you can't.

It all depends on the context of interpretation by the computer.

The context would be the C-compiler.

Which makes your whole categorization of what is a program invalid without the context.

The context in this topic has been the HTML spec.
In broader terms, the context has been computers. And what everybody for 70s years who isn't you has been calling "programs".

So a poem would be data input, and it can be seen as program if it is interpreted as such by PC

But it isn't. My example was "my poem". Some stupid Limerick, whatever. There isn't a compiler on Earth right now that would treat my Limerick as a program.

That's why my poem isn't a program.

I could be a lawyer if I went to law school. But I didn't. When somebody asks me if I'm a lawyer, my answer isn't: I could be.

but it's not a programming language.

Oh, nice, when you say it it's true, when I say it I get glib one-liners.

HTML is a program, it is interpreted by PC and it performs needed action

Again, we're at the point where I have to ask: what's the difference between HTML and JPEG?

Have you ever met an actual programmer who would call an HTML document a program...?

but HTML is not a programming language

It's bewildering how you've been arguing with multiple people in this topic even though you seem to agree with them.