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

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.

1

u/YawnTractor_1756 Jun 01 '23

HTML markup is a set of instructions for computer to follow. <body color=red> instructs the computer to performs a certain action.

Sure HTML is not a Turing-complete language, you cannot use it to calculate things or to manipulate data, but it does control what computer does.

3

u/[deleted] Jun 01 '23

Every input instructs the computer to perform a certain action, and if it's only to read your input.

By your definition everything you do on a computer is programming.

2

u/YawnTractor_1756 Jun 01 '23

If you save it as a repeatable pattern and can make computer execute that pattern again then yes, everything is programming.

0

u/[deleted] Jun 01 '23

And how is that useful?

2

u/YawnTractor_1756 Jun 01 '23

How is what useful?

1

u/[deleted] Jun 01 '23

Defining programming so loosely that a JPEG fits the bill.

1

u/YawnTractor_1756 Jun 01 '23

HTML is not programming, programming is writing HTML from scratch based on idea in your head.

If you were able to write JPEG from scratch using idea in your head that would very much be programming as well. Hell it was programming, how do you think those images in the first videogames were created before any image formats?

→ More replies (17)
→ More replies (3)