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

Programmer Humor

32561 readers
281 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
[–] PeriodicallyPedantic@lemmy.ca 1 points 3 months ago (1 children)

Does that make Rich Text Format a programming language then? Does that make jpg a programming language?

I think that markup is the data that a program takes as input - but I also think it's not black and white. How programmy a language is is a sliding scale.

[–] NauticalNoodle@lemmy.ml 1 points 3 months ago* (last edited 3 months ago) (1 children)

Those are interesting analogies. I guess I'd have to agree they are certainly a function of programming whereas I probably should have specified programming languages (directed by text) but then one could argue that the examples you mentioned are merely a language of buttons and other user input. —"Sliding scale " indeed.

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

Sorry I wasn't clear, I meant the formats themselves.
Writing rich text using a text editor is kind of like writing HTML with a WYSIWYG editor, but just like with HTML you can go in and write RTF by hand.
Likewise you can use Photoshop to make an image, but you could also go in and set the pixel values of a bmp by hand.

By sliding scale I didn't mean wrt how you wrote them, but rather how much like an "instruction" the file tokens (for lack of better word) are. Is it instructing the computer to do something? Or is it data that the instructions act on?

Sometimes the line between input data and instruction is blurry.