That’s the etymological fallacy. The name itself doesn’t determine the meaning. According to that logic, python isn’t a programming language either but a snake
The name in this case is defined by the meaning if you will. Programming languages are used to write programs. A HTML file is much closer to a PDF than to what can be considered a program.
Also fun fact python is named after the comedy group Monty Python rather than the snake.
Actually, PDF is a turing complete programming language.
PDF is a simplification and wrapper around the computer language PostScript - a PostScript or PDF doc literally runs on the printer or computer and outputs the rasterisation of the thing you want to print.
PostScript is language based around a stack. You can define functions (which may be fully recursive) that run on the stack.
It’s right there in the name: it’s a markup language. Hyper Text Markup Language. HTML.
How To Meet Ladies.
Huge Turd Must LaughHuge Tongue Must Lick
Thanks, now I’m a huge turd
Omg, you gave me a great idea. Don’t ask how. Updated it.
There is a difference between “markup language” and “programming language”.
That’s the point isn’t it? Or did you mean that with a question mark attached?
The only correct answer is D, and it got the least votes. 😋
That’s the etymological fallacy. The name itself doesn’t determine the meaning. According to that logic, python isn’t a programming language either but a snake
The name in this case is defined by the meaning if you will. Programming languages are used to write programs. A HTML file is much closer to a PDF than to what can be considered a program.
Also fun fact python is named after the comedy group Monty Python rather than the snake.
Actually, PDF is a turing complete programming language.
PDF is a simplification and wrapper around the computer language PostScript - a PostScript or PDF doc literally runs on the printer or computer and outputs the rasterisation of the thing you want to print.
PostScript is language based around a stack. You can define functions (which may be fully recursive) that run on the stack.
Here’s a small example:
/ANGLE { newpath 100 0 moveto 0 0 lineto 100 50 lineto stroke } def 10 setlinewidth 0 setlinejoin 100 200 translate ANGLE 1 setlinejoin 0 70 translate ANGLE 2 setlinejoin 0 70 translate ANGLE
As such, PDF that’s actually similar to Python, and HTML is closer to something like a JSON or XML document.
Note however that HTML can contain Javscript or WASM programs, but these are embedded rather than features of HTML.
Consider me outjerked 🎩🤏
HTML5 + CSS3 seems to be Turing complete too: https://lemire.me/blog/2011/03/08/breaking-news-htmlcss-is-turing-complete/
Forgive me if this sounds rude but it’s the best way to explain in my mind, please take it in jest.
- lemon is sweet.
+ no, lemon is sour.
- well, Lemmon+sugar is sweet.
+ ???
Well, TIL! Thank you!
Ok, but hear me out. Have you seen most Python code?
snake_case_ftw
Point taken
From Gryffindor and awarded to Slytherin
Welcome to germany. Many name for new thing just description of thing. Why not more language do that? Very useful.