• mox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    22
    arrow-down
    5
    ·
    10 months ago

    Counterpoint: A declarative language made and used to program a browser is still a programming language, regardless of its name, heritage, or differences from imperative languages.

    Even wikipedia hints at this with a hello world program.

    • silasmariner@programming.dev
      link
      fedilink
      arrow-up
      13
      arrow-down
      3
      ·
      10 months ago

      Hypertext markup Language. Yeah this sorta reminds me of why I stopped following r/ProgrammerHumour on the old site - too many cheap potshots at Perl, PHP and HTML, as if they weren’t fantastic tools that powered the creation of the internet we have today. Kids, man, SMH

      • amanaftermidnight@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        2
        ·
        10 months ago

        Markup language ≠ programming language.
        Markups produce layout, not code.
        Typesetting (the Gutenberg way) produce books, not run the looms.

        • silasmariner@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          10 months ago

          Well l take your point, but here I took ‘programming language’ in the colloquial sense to mean ‘language used for programming’ whereas you seem to have read it as ‘turing-complete language’; neither is fully justifiable since there’s ambiguity, but given that it’s a crossword I think that’s fine and all part of the game.

    • Shareni@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      10 months ago

      Can it manipulate data, does it have logic? Those are the only factors, it doesn’t even need to be Turing complete.

      You can write a composition and play it through the browser, but that doesn’t mean your notes are a programming language.