Live data from Hacker News

HTML Is a Programming Language. Fight Me

wired.com

1–10 of 34 posts

Re: HTML Is a Programming Language. Fight Me

#4
The article seems to simply assume that only programming languages have value, then argue that since HTML has value, that it is a programming language.

EDIT: It's a very common logical confusion. Just because someone says "HTML is bad because it's not a programming language" but you think HTML is good doesn't mean that HTML is a programming language. The first person could just be wrong about there being a connection between badness and not being a programming language. It's a shame the entire article is written based on this error

Re: HTML Is a Programming Language. Fight Me

#9

> Because HTML looks easy and lacks features like formal conditional logic and Turing-completeness, it’s often dismissed as not a programming language. Uh, yes? It's _not_ a programming language, it's a markup language. It's kind of in the name.

It's a declarative programming language. Saying it's "in the name" is a meme, it was named that before it supported scripting.

Re: HTML Is a Programming Language. Fight Me

#10
post #4

The article seems to simply assume that only programming languages have value, then argue that since HTML has value, that it is a programming language. EDIT: It's a very common logical confusion. Just because someone says "HTML is bad because it's not a programming language" but you think HTML is good doesn't mean that HTML is a programming language. The first person could just be wrong about there being a connection…

HTML can be used to tell different devices in different contexts what to display and how to display it. It serves as a sort of general DSL, which is a bit of an oxymoron and does come remarkably close to describing a programming language.
Post reply on HN