this post was submitted on 26 Jul 2024
278 points (95.4% liked)
Programmer Humor
32396 readers
690 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's not a logical programming language, but markup directs the formatting and general output of content to the screen. -Is that not a function of programming?
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.
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.
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.