this post was submitted on 06 Mar 2024
522 points (96.1% liked)
Programmer Humor
32558 readers
491 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
No. Markup languages are configuration for an interpreter.
inb4 code is configuration for a compiler and binary is configuration for a processor
Actually, there are plenty of interpreted programming languages, for example Perl or Shell Script so that definition is incorrect.
HTML is not a programming language because it only defines form (how things look), and does not control action (executing operations by itself).
The language for Web Development that controls the execution of operations (say: if the user fills a certain field, fetch related data from a server and display it in certain page areas) is called Javascript and is separate from HTML (which existed before Javascript and can exist without it).
Modern Web standards have also moved a lot of the form stuff to yet another language - CSS, Cascading Style Sheets - which is more powerful and reusable, so HTML is more used for the visual structure of the page and less for things like the fonts of the various pieces of text, though it still contains support for that stuff and you can still use it.
Got 'em!