• dejected_warp_core@lemmy.world
    link
    fedilink
    arrow-up
    62
    arrow-down
    1
    ·
    4 days ago

    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.

      • nef@slrpnk.net
        link
        fedilink
        English
        arrow-up
        22
        ·
        3 days ago

        It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.

          • filcuk@lemmy.zip
            link
            fedilink
            arrow-up
            14
            ·
            3 days ago

            Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.

          • Fushuan [he/him]@lemm.ee
            link
            fedilink
            arrow-up
            5
            ·
            3 days ago

            I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.

            Is R a compiled programming language because several of its built in functions run compiled C code? No.

            • Ziglin (it/they)@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.