this post was submitted on 26 Jul 2024
276 points (95.4% liked)

Programmer Humor

32559 readers
413 users here now

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

Rules:

founded 5 years ago
MODERATORS
276
submitted 4 months ago* (last edited 4 months ago) by deathmetal27@lemmy.world to c/programmerhumor@lemmy.ml
 

What does your sleep paralysis demon ask you?

you are viewing a single comment's thread
view the rest of the comments
[–] istdaslol 25 points 4 months ago (4 children)

Yes. Markup-Languages are a subset of Programming-Languages. Turing completness doesn’t matter as things like magic the gathering and habbo hotel are Turing complete

[–] ransomwarelettuce@lemmy.world 31 points 4 months ago (2 children)

I am markdown and latex programmer.

Idk it just feels wrong.

[–] theherk@lemmy.world 5 points 4 months ago

If you can write a moderately complex math equation in tex on the first try, you’re a programmer in my book.

[–] umbrella@lemmy.ml 2 points 4 months ago

idk css feels just as frustrating

[–] Dirk@lemmy.ml 10 points 4 months ago

So Habbo Hotel is a programming language.

[–] PeriodicallyPedantic@lemmy.ca 4 points 4 months ago (1 children)

I feel like programming language produces programs, and makeup languages formatted documents.

I wouldn't consider a formatted document to be a program, so I don't consider a markup language to be a programming language.

Doesn't make it less valuable, though

[–] Dirk@lemmy.ml 2 points 3 months ago (1 children)

ACKSHUALLY ... markup languages do not produce a formatted document. They define semantic elements of the document. The formatting is done by the compiler (whatever it is in the individual context) based on styles defined by a styling language.

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

That's true! Although many people use makeup to do styling using the default styles... Which is... Not great.

But regardless I think my point still holds, it's not providing instructions for a machine, it's the data the instructions act on. But the difference between data and instructions is a blurry one

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

'This markup language isn't even as capable as Habbo Hotel, but it counts anyway because I just called it a programming language.'

There is a literal hierarchy of syntaxes which are recognized by different categories of machine. Programs require a Turing machine. Anything lesser - in a subset like pushdown automata or finite-state machines - doesn't need a proper computer. So it's not a program.