this post was submitted on 06 Mar 2024
524 points (96.1% liked)
Programmer Humor
32479 readers
315 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
For the common folk working with a markup language is programming.
For all intents and purposes, a markup document is a script that outputs a document. There's no point in saying the HTML isn't a programming language. Not all languages have to be general purpose.
If a language can't store information and retrieve it later, then there is a limit to its usefulness. There are problems it cannot solve.
That's OK, because not every language needs to be do that in order to serve its niche, but it's not a programming language.
Isn't that what a form is?
No. A form can't do anything except send data to a server or get handled in the browser by Javascript (or Typescript or whatever). In either case, HTML is not capable of storing or retrieving anything on its own. It only provides an interface for potentially doing that.