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

Programmer Humor

32054 readers
1429 users here now

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

Rules:

founded 5 years ago
MODERATORS
279
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

What does your sleep paralysis demon ask you?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 month 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.

[–] [email protected] 1 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 2 points 1 month 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.