you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 2 years ago (17 children)

It’s a markup language. There’s no debugging.

I don’t have to iterate through versions of the markup to find what works.

It doesn’t have specific documentation that is mostly the same but differs slightly on different runtimes

And it doesn’t have IO, dynamic extensibility or modularity….

Wait a second. Hmm… nah, it’s still just a markup language. Just one derived over time that feels like it was the brainchild of Satan and Cthulu

  • source
  • hideshow 17 child comments
  • [–] 7 points 2 years ago (3 children)

    I don’t have to iterate through versions of the markup to find what works.

    <section> or <article> first? A section can contain articles, but articles can have sections.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 2 years ago* (2 children)
  • [–] 3 points 2 years ago* (11 children)

    I'm not a programmer so I'm tending towards accepting HTML as a programming language, because it's a language you type in to make the computer do stuff. Is there maybe another example of something that does what HTML does but obviously isn't a programming language?

  • source
  • parent
  • hideshow 11 child comments
  • [–] 5 points 2 years ago* (7 children)

    A PowerPoint, word document or even a text file or picture. There is only a description in the file of what it holds and it's up to the program that reads it, how it will visualize or interpret it.

    A word document or PDF would be the closest.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 2 points 2 years ago (1 child)

    To be fair to PDFs, they can contain JavaScript. Blame Adobe for that and their originally-exclusive-to-Acrobat extension for that.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 2 years ago (4 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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 2 years ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 years ago (2 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?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 2 years ago (1 child)

    Markup language vs programming language is similar to the difference between a font and a typeface. Sure, they're different but to the layperson, they might as well be the same thing.

  • source
  • parent
  • hideshow 1 child comment
  • A markup language (which is what HTML is) is like an advanced text container. When you write a post or comment here, you can use specific syntax to indicate the size of the text, a hyperlink, a quote, etc. HTML is that. It doesn't "do" anything, you're just writing in what you want it to display, and that is displayed.

    A programming language lets you somehow "do" something. Instead of declaring explicitly "write this text in bold" a programming language can be used to process all the text in an arbitrary document, and change the word "aeroplane" to bold whenever it turns up. That is: The output from the code isn't just a rendering of what is explicitly written there, which is what a markup language gives you.

  • source
  • parent