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

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.

→ More replies (5)
→ More replies (1)

6

u/Quito246 Jun 01 '23

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

→ More replies (5)
→ More replies (1)

-2

u/lazyzefiris Jun 01 '23 edited Jun 01 '23

Dunno what your argument is TBH with that analogy and especially "Classification of languages exist for a purpose…". If you were hired to work with C and were given Algol task instead, would you be fine, because both fall into category of programming languages?

Steak is not Pizza, it's Steak. HTML is not any other language, it's HTML, that much is obvious. What real purpose besides being pedantic for the sake of being pedantic does "Classification of languages" serve in case of HTML?

15

u/Quito246 Jun 01 '23

I dunno maybe CS is an exact science discipline, therefore using correct terminology is to be expected?🤷‍♂️ I mean other science disciplines also use exact terminology so why not CS?

-4

u/lazyzefiris Jun 01 '23 edited Jun 01 '23

It's expected under specific formal circumstances, or when actual classification really matters to context of discussion, and random informal discussion where "ACSSHULLY HTML IS NOT A PROGRAMMING LANGUAGE" folks show up is almost never that.

And you did not answer the posed question, just gave the "others do it too". So, anything more substantial?

7

u/Quito246 Jun 01 '23

I mean are u really asking me why we shouid use correct terminology? You are basically saying that If I tell someone that this is chair but actually it is table, what is the difference? I mean sure It will not change anything but still people agreed that word chair mean something and word table mean something. Same thing with programming vs markup language.

-3

u/lazyzefiris Jun 01 '23

I am asking why should we stick to formal terminology in an informal discussion where both sides understand the idea without nitpicking about words used.

If site says "You'll learn programming languages like C, JS, Python, HTML and CSS" everyone but the caveman understands what that means ("You'll learn nothing" or "You'll learn how to make things" in this case). What does "AKSHULLY HTML AND CSS ARE NOT PROGRAMMING LANGUAGES" contribute to literally anyone in this context?

Can you provide a context that's not some actual classification paper where exact classification "HTML is not a programming language" matters enough to bring it up? I saw one person trying, but they ended up bringing up the example where not every programming language would work anyways, so that kind of classification did not matter in the end.

6

u/CreationBlues Jun 01 '23

People like you are so annoying for crying like you’re being put on the cross for wanting to use language wrong.

→ More replies (2)

7

u/bighadjoe Jun 01 '23

Let's assume you hire someone to do a project for you. Full autonomy, you don't care how they are gonna approach it, you don't care which programming language they use. All you want to know is if they seem qualified, so you ask them if they are proficient with any programming language. If they only know HTML you may be disappointed by the results. Words exist for a reason.

1

u/lazyzefiris Jun 01 '23

You'd get the same result if your "project" you for some reason refuse to specify and clarify was making a driver for your hardware, and they only knew JavaScript and GDScript, which ARE programming languages. Don't see how your "classification of languages" helps at all. What you described is definitely not a classification problem and is not solved by splitting languages into "programming languages" and "not programming languages"

2

u/GreenFuzyKiwi Jun 02 '23

“You’re good at blue collar work right?”

“Yeah”

“Okay, please paint this house”

If this guy has never painted before, then the client is gunna be disappointed… words exist for a reason: he should’ve clarified what kind of blue collar work. Or rather.. what kind of programming languages..

A step further: literally anything that goes into the job. If the guy says he’s spent a year painting.. and you didn’t ask him if it was interior or exterior- but he’s never done exterior and you didn’t clarify before giving him a fence job… it’d be the same thing. Lack of clarification on the client’s end..

→ More replies (1)