None of these
-
What was Monty Python named after?
I think it got inspired by our lord and savior Brian
-
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?
-
Is Machine Language even a well defined thing? I would think of assembly but I don't know where to draw the line
Hyper Text Machine Language
This will be the next big thing. I’m going to write a Lemmy server in this.
-
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.
wrong again! CSS is turing complete, and HTML can include inline CSS, so you can implement a Turing machine in HTML only (without external .js files)
-
It's right there in the name, but then there's CFML, which is unpopular, but it definitely features logic, variables, and data manipulation.
CFML walks the line, but it exists to make HTML in a programmatic way, and be very approachable to non-programmers. It’s not really a markup language, it’s a programming language disguised as markup.
-
But I’d rather have the million dollars than the satisfaction of calling out the show for being wrong.
Weak sauce. A man has to have principles!
-
wrong again! CSS is turing complete, and HTML can include inline CSS, so you can implement a Turing machine in HTML only (without external .js files)
It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.
-
This post did not contain any content.
Ackshually it's a markup language not a programming language Picks D and loses $1 million
-
It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.
CSS can be included as a style property without requiring the script/style tag though.
-
This post did not contain any content.
It looks like this is a photo taken by a potato of a magazine photo that was taken by a potato
-
Fun fact python was named after Monty python, not the snake.
wrote on last edited by [email protected]If it walks like a snake and quacks like a 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.
HTML5 + CSS3 seems to be Turing complete too: https://lemire.me/blog/2011/03/08/breaking-news-htmlcss-is-turing-complete/
-
CSS can be included as a style property without requiring the script/style tag though.
Those are still two different languages. HTML isn't an umbrella term for HTML+CSS in any form.
-
What was Monty Python named after?
The Red Baron.
-
Is Machine Language even a well defined thing? I would think of assembly but I don't know where to draw the line
I've never heard the term. Only machine code, which i interpret as 1/0. Assembly should be a very low level programing 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.
Excel formulas have become Turing complete with the LAMBDA addition.
-
What was Monty Python named after?
Monty Python was named after Monty Python was named after Monty Python was named after..
-
This post did not contain any content.
Not expected Amitabh Bacchan and Indian who wants to be a Millonaire or Kaun bane ga Crorepati.
Lemmy has got me suprised.
Also HTML is markup not a programming language. -
What was Monty Python named after?
"Monty" was selected (Eric Idle's idea) as a gently mocking tribute to Field Marshal Lord Montgomery, a British general of World War II; requiring a "slippery-sounding" surname, they settled on "Python". Flying Circus stuck when the BBC explained it had printed that name in its schedules and was not prepared to amend it.
-
CSS can be included as a style property without requiring the script/style tag though.
Same goes for JS, for example the onclick attribute.