this post was submitted on 25 Oct 2026
370 points (95.1% liked)

Programmer Humor

33823 readers
2003 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

you are viewing a single comment's thread
view the rest of the comments
[–] canaryWart@programming.dev 13 points 2 days ago (3 children)

HTML/TeX/etc are real programming languages that just happen to be declarative as opposed to imperative.

[–] Bazoogle@lemmy.world 1 points 1 day ago

HTML is a markup language, not a programming language. I can make things appear, but I cannot make calculations.

[–] danhab99@programming.dev 3 points 2 days ago

Waaaooww what a position

I'd want to disagree bc I know Nix and that feels declarative to me where as html just feels like actual drawing, like there's no conditional or iteration therefore how are you transforming information? HTML is a markup bc you need to render a UI and you don't know anything about the screen or keyboard&mouse so cope

[–] Euphoma@lemmy.ml 1 points 2 days ago (1 children)

imo you need to be able to execute an algorithm for it to be a programming language. not necessarily turing complete but html cant really execute stuff. if you include css as part of html, then it would be turing complete then. TeX is turing complete so it is a programming language.

[–] zarkanian@sh.itjust.works 1 points 2 days ago (1 children)

Where does it say that it has to be Turing-complete to be a programming language?

[–] JackbyDev@programming.dev 2 points 1 day ago

not necessarily turing complete

Not in the comment you're replying to.