Live data from Hacker News

HTML Is a Programming Language. Fight Me

wired.com

31–34 of 34 posts

Re: HTML Is a Programming Language. Fight Me

#31
post #12

> HTML is somehow simultaneously paper and the printing press for the electronic age. It’s both how we write and what we read. It’s the most democratic computer language and the most global. It’s the medium we use to connect with each other and publish to the world. It makes perfect sense that it was developed to serve as a library—an archive, a directory, a set of connections—for all digital knowledge. Ah yes, journ…

> The definition of programming is: "creating a sequence of instructions to enable the computer to do something" I know a lot of Haskell programmers who would take issue with the idea that programming requires a sequence of instructions.

A Haskell program is still a sequence of instructions, they’re just composed using the IO monad instead of being written directly.

Re: HTML Is a Programming Language. Fight Me

#32
post #29

Earlier quoted context omitted.

And when it added scripting, it did so by adding an actual programming language.

Does being Turing Complete enable you to have a programming language ins8de a programming language?

They'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)

Re: HTML Is a Programming Language. Fight Me

#33
post #29

Earlier quoted context omitted.

Does being Turing Complete enable you to have a programming language ins8de a programming language?

They'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)

Also HTML in JS in HTML
Post reply on HN