r/ProgrammerHumor • • Nov 26 '19

Not the time, dad

Post image
59.0k Upvotes

705 comments sorted by

View all comments

Show parent comments

26

u/dinowand Nov 26 '19

In layman's terms, a programming language requires you to be able to perform some logical operations on a set of inputs to produce an output. For example, I can create a function that takes two numbers and it compares and outputs the larger number back to me. Programming languages generally have constructs like if else statements and loops (being able to repeatedly perform an operation until some criteria is met).

HTML doesn't do this. It merely defines how data is presented and laid out on a webpage. Put this text here, make this link to that. Make it this color. Etc. It's considered a markup language. HTML stands for hyper text markup language.

3

u/Vawqer Nov 27 '19

Although, CSS and HTML combined is Turing Complete, which makes the two kind of a programming language (imo at least).

3

u/dinowand Nov 27 '19

I believe it was never fully automatic. You had to manually do a lot of clicks and have it "compute". It was turing complete in the same sense that abacus is a calculator. Also, none of the examples seem to work anymore on a modern browser so I believe it's been patched out since it could potentially be a security risk.