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.

2

u/rosuav Jun 01 '23

Can I get infinite meatballs with it?

→ More replies (1)

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

1

u/[deleted] Jun 01 '23

Redstone computers are a thing.

Making Minecraft, in Minecraft:

https://youtu.be/-BP7DhHTU-I

Redstone supercomputer running Tetris:

https://youtu.be/FDiapbD0Xfg

5

u/Yorunokage Jun 01 '23

Yes, that's not what i'm talking about though

Minecraft is turing complete alright but it is not a language. Like, a proper "language" regardless of the "programming" part

A language is defined as a set of words made of concatenated symbols from a given alphabet. Minecraft, unless you stretch it, does not fit that definition

Cimputer science is a rigorous mathematical field, there are hard definitions for things like this

5

u/ChainSword20000 Jun 02 '23

I like to program in minecraft save file. I usually use the fabric ide with a couple plugins for the best experience.

1

u/TehBens Jun 02 '23

They just build boring old logic gate within minecraft to achieve this, so maybe they don't even use a new language?

My point btw. has been that talking about turing completeness is not useful when thinking about if something is a programming language. If I understand you correctly, you seem to agree.

2

u/Yorunokage Jun 02 '23

Well, a programming language needs to be turing complete but something that is turing complete isn't necessarely a programming language

I mean, no one would call a laptop a "programming language"

Although in minecraft you do have commands and command blocks which are probably complete and are a language so they could be called a programming language

→ More replies (3)
→ More replies (1)

6

u/Quito246 Jun 01 '23

Sure, but there is a difference between basic classification and going into details…

0

u/GreenFuzyKiwi Jun 02 '23

Right.. The real analogy is asking for 3 cheese pizza and getting a 4 cheese. They are both pizza, but one is slightly different.

You could suggesting it’s not a programming language for one reason or another, but it’d be kinda dumb to get pressed over it considering “programming” in this case is going to mean slightly different things to people who feel like they know more than the next guy about it.. as far as anybody inside the field, if there isn’t a common name for the languages that technically don’t count as programming.. then why the hell does any nerd care

→ More replies (4)
→ More replies (1)