• chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      7 months ago

      Don’t worry. They interview you before these shows. If you’re at all tech savvy then they would never ask you this question. They want you to be stumped by the question for legitimate reasons, not to loudly protest that you’ve been cheated by a bad question.

    • Simulation6@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      arrow-down
      17
      ·
      7 months ago

      How is Hyper Text Markup Language not a programming language? Now JavaScript and CSS are arcane rituals, but html is well behaved.

      • AndyMFK@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        24
        arrow-down
        1
        ·
        7 months ago

        How is it a programming language? It’s a markup language. There’s no logic, variables or any way to manipulate data.

        • thesystemisdown@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          It’s right there in the name, but then there’s CFML, which is unpopular, but it definitely features logic, variables, and data manipulation.

          • invertedspear@lemm.ee
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            7 months ago

            CFML walks the line, but it exists to make HTML in a programmatic way, and be very approachable to non-programmers. It’s not really a markup language, it’s a programming language disguised as markup.

    • dejected_warp_core@lemmy.world
      link
      fedilink
      arrow-up
      59
      arrow-down
      1
      ·
      7 months 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
          ·
          7 months 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
              ·
              7 months 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
              ·
              7 months 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
                ·
                7 months 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.