3 ms·
> 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
by empressplay 2y ago
> 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.
- koolala 2y agoIt's a declarative programming language. Saying it's "in the name" is a meme, it was named that before it supported scripting.
- deleted 2y ago[deleted]
- yjftsjthsd-h 2y agoAnd when it added scripting, it did so by adding an actual programming language.
- koolala 2y agoDoes being Turing Complete enable you to have a programming language ins8de a programming language?
- yjftsjthsd-h 2y agoThey're orthogonal; you can add * turing in non-turing (javascript on html) * non-turing in turing (ebpf on c) * turing in turing (lua on c) * non-turing in non-turing (raw html in a markdown document)
- koolala 2y agoAlso HTML in JS in HTML