this post was submitted on 26 Jul 2024
280 points (95.5% liked)

Programmer Humor

32572 readers
764 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

What does your sleep paralysis demon ask you?

you are viewing a single comment's thread
view the rest of the comments
[–] mindbleach@sh.itjust.works 7 points 4 months ago (2 children)

You can't write a program in HTML.

End of discussion.

[–] linkhidalgogato@lemmy.ml 2 points 4 months ago (2 children)

programing languages arent use to make programs they are used to program machines which is exactly what u do with html.

[–] PeriodicallyPedantic@lemmy.ca 3 points 4 months ago

The "program" is the package of instructions that tell the machine what to do. The instructions are written in a programming language.

With a markup language, the markup is the input to a program (like a browser) that tells the machine what to do.

But I think it's not really boolean, it's a sliding scale. Especially with so many programming languages being interpreted or JIT compiled. I think it's less a programming language than many other programming-related things, but more of a programming language than, say, a slideshow.

[–] mindbleach@sh.itjust.works 3 points 4 months ago* (last edited 4 months ago)

they are used to program machines

Which HTML cannot do, because if it could, that would be called a program. That's what the word means.

HTML makes documents. It's a markup language. It's not even Turing-complete accidentally.

[–] 0x0@lemmy.dbzer0.com 0 points 3 months ago

I mean technically I could write an interpreter that assigns semantics to HTML constructs.