this post was submitted on 28 Feb 2025
392 points (96.9% liked)

Programmer Humor

20885 readers
679 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Overspark@feddit.nl 72 points 3 days ago (1 children)

HTML 5 isn't a programming language! (Yes, I'm a nerd)

[–] xmunk@sh.itjust.works 31 points 3 days ago (2 children)

Assuming you're talking about HTML5 & CSS it actually is Turing Complete.

[–] stetech@lemmy.world 9 points 2 days ago* (last edited 2 days ago) (1 children)

Wrong. Well, at least incomplete.

You need user interaction (e.g., clicking on a button) and HTML & CSS for Turing Completeness, apparently.

[–] ookiiBoy@lemmy.blahaj.zone -3 points 1 day ago (2 children)

It's a programming language regardless of it's completeness. You give a computer instructions, in a DSL, it gets interpreted.

Don't gate keep.

[–] mexicancartel@lemmy.dbzer0.com 7 points 1 day ago* (last edited 1 day ago)

My voyager app is a programming laguage. When i click post, it gets interpreted and sends a comment to the server

Btw, is english a programming language cuz AI interprets it and does something with it?

[–] stetech@lemmy.world 1 points 1 day ago (1 children)

Who is “it” which interprets things? Is it part of HTML/CSS?

[–] ookiiBoy@lemmy.blahaj.zone 2 points 1 day ago* (last edited 1 day ago) (1 children)

The browser. When it reads the HTML and creates a DOM based on the provided instructions.

[–] stetech@lemmy.world 1 points 20 hours ago (1 children)

So where in that can I encode an arbitrary program? Like one could do in JavaScript?

[–] anton@lemmy.blahaj.zone 2 points 14 hours ago (1 children)

Create a table of checkboxes with the rule 110 CSS applied.
Translate your program to a rule 110 program and put it in the top row of the table.
Advance the computation by checking the marked (orange in the example) checkboxes row by row.

Example

[–] stetech@lemmy.world 1 points 13 hours ago

Well yeah, with CSS and user interaction it’s understandable… as I’ve linked above.

The question was if this is possible for purely-HTML markup descriptions without CSS nor clicks, and it was a rhetorical one.

[–] BeardedGingerWonder@feddit.uk 15 points 2 days ago

Has anyone ported doom yet?