this post was submitted on 06 Mar 2024
524 points (96.1% liked)

Programmer Humor

32396 readers
513 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 8 months ago (1 children)

You mean the code behind the scenes is like HTML? But then I don't see how it's not in a programming language.

[–] [email protected] 1 points 8 months ago (1 children)

No, the html file itself. It just contains elements like a paragraph, image, list, table,... just like a word document.

[–] [email protected] 1 points 8 months ago (1 children)

So you mean for example that typing ... is more comporable pressing enter in Microsoft Word? But then you're typing a code instead, no?

[–] [email protected] 2 points 8 months ago (1 children)

Yes, typing in HTML is like pressing enter in word, but that doesn't make it a programming language, it makes it a markup language.

A markup language is also what you can use to format comments here: You use a specific syntax to indicate how you want things formatted.

The separation from a programming language is that a programming language can be used to implement logic, like saying: In the following paragraph, a word should be bold if it contains the letter "A". That cannot be done with a markup language.

[–] [email protected] 1 points 8 months ago

Okay, I follow now. Thanks for your patience, ha.