None of these
None of these
Not really, it’s a formatting language.
Yes, I’m fun at parties. In my head 😅
A “Markup Language” to be precise. HyperText Markup Language.
Yea my parties are the best parties, too.
It’s basically gambling on the nerdiness of the question’s writer. Do they think HTML is a programming language? Do they know that people think it’s a programming language and trying to trap them? Do they know it’s not a programming language but also know most people would think it is one and so are using the common, loose definition of a programming language in order not to trap people?
My brain would melt
Mine wouldn’t.
It is a quiz, they know what they are talking about if they put the question in. And if they don’t, you get to call out the quiz master for being wrong.
I would loudly go on the record for my reasoning that Hypertext Markup Language is not Turing Complete, and therefore fails to be a programming language by the only academic and theoretical definition that matters.
They already are going to award me “lawyer up” money, so I’ll come after them for damages later if B is the "right’ answer.
I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.
Is R a compiled programming language because several of its built in functions run compiled C code? No.
What really has my brain in a knot is: Does option “D: None of these” include or exclude option D?
This statement is false.
Or address them:
Either* A, B, C;Do you program a document in Word?
macros excluded
We aren’t talking about Excel, but about Word.
We do that to explain that HTML is nothing more than to display text in a certain layout, just like a Word document. The only difference is that Word is designed to be printed, while HTML is designed to display on a website.
Also, exclude VBA as well as macros. VBA is a programming language.
Well, you can’t make Tetris in HTML without including some other language that has loops and variables.
I’m also not sure if you can do it in Excel without using VBA, which is a programming language. Excel doesn’t do circular logic in the document sheets.
Anyway the issue or joke is the lack of definition of “programming”.
HTML is a text encoding system. It’s not that different form something like the Morse code. It’s only instructions for how to decipher a series of codes. It takes input and presents it as an output, starting from the beginning and working its way to the end.
In my very unofficial opinion, a “program” is something that is able to “run” by itself, so that the code itself has instructions for which part of the code to run.
If you decipher a morse code, it doesn’t suddenly have instructions that force you to go backwards in the code and decipher from there or to jump to different sections. The text output might tell you to do so, but if you follow the text, then you’re doing something else than deciphering morse code.
HTML works the same. It start from the top and interprets its way down. It can have some conditional statements, but nothing that will make it go backwards and rerun the same instructions again.
The interpretation is of course more advanced than Morse code and it can call other languages to do stuff, so HTML is basically a document describing a job procedure in that way. The individual jobs can be reoccurring tasks, but the document itself isn’t.
So in my opinion it’s not “running” anything. It’s just a document being printed on screen.
I’ll admit that “one-shot” programs are a thing, and documents with variables do exist, so it’s not clear cut. A programming language should be capable of those things though, and HTML isn’t one on its own.
Good to know.
It seems kind of half assed though.
I’ve only used it briefly to access the filesystem. Having to paste code into the reference field in the name manager is a special kind of masochistic practice.
With a programming language you tell a computer what to do. With a markup language, which HTML is, you tell a computer what to show. Much different.
You wouldn’t want to mix them up. The precise distinction is what the web makes so beautifully scalable.
Interestingly C and D are both programming languages. That is, there is a programming languages called C and another, D.
I’ll see myself out…
Trying to remember from automata theory, does the empty set accept an empty grammar?
Like how in some languages an empty source file is valid? So then “none” is a programming language with an empty language grammar?
A and B are also programming languages. A is an APL implementation and B is a precursor of C.
aplwiki.com/wiki/A en.m.wikipedia.org/wiki/B_(programming_language)