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
I am markdown and latex programmer.
Idk it just feels wrong.
If you can write a moderately complex math equation in tex on the first try, you’re a programmer in my book.
idk css feels just as frustrating
So Habbo Hotel is a programming language.
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
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.
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
'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.
is a hotdog a sandwich?
Taco according to the cube rule
yes
Why does a demon need a moustache?
Makes him cooler?
Makes him evil
So, if he shaves, would that makes him neutral? Good?
I mean that's what it asks me 😆
You can't write a program in HTML.
End of discussion.
programing languages arent use to make programs they are used to program machines which is exactly what u do with html.
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.
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.
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.
Is fondant a cake?
Is Linux a operating system?
37 comments so far and not one answer.
Programmer Humor
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.