this post was submitted on 26 Jul 2024
4 points (83.3% liked)

Programmer Humor

32247 readers
306 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?

top 25 comments
sorted by: hot top controversial new old
[–] wuphysics87@lemmy.ml 1 points 2 months ago

Does HTML or LaTeX or Markdown provide a computer instructions which are executed? I'm going to take the unpopular opinion and say they are programming languages.

[–] mindbleach@sh.itjust.works 1 points 2 months ago (1 children)

You can't write a program in HTML.

End of discussion.

[–] linkhidalgogato@lemmy.ml 0 points 2 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.

[–] mindbleach@sh.itjust.works 1 points 2 months ago* (last edited 2 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.

[–] PeriodicallyPedantic@lemmy.ca 1 points 2 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.

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

Is C a low-level language?

[–] pewpew@feddit.it 1 points 2 months ago

idk it seem nobody has an answer. Can we just call it "mid-level"?

[–] istdaslol@feddit.org 1 points 2 months ago

Yes, es soon you start pointer arithmetic you dig your own grave. Hence low level

[–] istdaslol@feddit.org 0 points 2 months ago (1 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 3 points 2 months ago

I am markdown and latex programmer.

Idk it just feels wrong.

[–] metaStatic@kbin.earth 0 points 2 months ago (1 children)
[–] morbidcactus@lemmy.ca 1 points 2 months ago* (last edited 2 months ago)

Taco according to the cube rule

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

It's a markup language, not a programming language.

[–] deathmetal27@lemmy.world 0 points 2 months ago (1 children)
[–] PeriodicallyPedantic@lemmy.ca 0 points 2 months ago (1 children)

I don't think it is.

Care to explain what I'm missing?

[–] deathmetal27@lemmy.world 0 points 2 months ago (1 children)

Do I really have to explain the joke? The sleep paralysis demon is asking "Is HTML a programming language?" And the person is "sleep paralysed" to correct them or do anything about it really.

I don't know what else I can explain besides that.

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

So... The humor is just absurdity?

[–] boatsnhos931@lemmy.world 0 points 2 months ago (1 children)
[–] PeriodicallyPedantic@lemmy.ca 0 points 2 months ago (1 children)

Nearly all the comments are taking a literal position on if it is or isn't a programming language.

Idky I'm being singled out for not understanding the joke. It seems like nearly nobody does. And I still don't.

[–] Jimbabwe@lemmy.world 1 points 1 month ago (1 children)

The “joke” is that it’s an issue that people feel compelled to comment on, but the sleeping person can’t. Predictably, most people are blowing straight past this and commenting their opinions, but most of the other replies are joking or whimsical. Yours is straightforward no-nonsense. If I had to guess, I’d say that’s why you’re being singled out.

[–] PeriodicallyPedantic@lemmy.ca 1 points 1 month ago

Ok, that kinda makes sense, but that seems pretty niche. you have to make a few cognitive leaps to get it. That's ok, it's fine to make jokes like that, but it seems a bit much to be a jerk to folks who don't get it.

Looking over the comment section again, it's still like it was when I posted: most people are taking the question at face value, and not engaging with the joke.

[–] TheUnicornOfPerfidy@feddit.uk 0 points 2 months ago (1 children)

Why does a demon need a moustache?

[–] muhyb@programming.dev 1 points 2 months ago (1 children)
[–] pewpew@feddit.it 0 points 2 months ago (1 children)
[–] muhyb@programming.dev 1 points 2 months ago

So, if he shaves, would that makes him neutral? Good?