• Honytawk@feddit.nl
      link
      fedilink
      arrow-up
      10
      ·
      3 days ago

      We aren’t talking about Excel, but about Word.

      We do that to explain that HTML is nothing more than to display text in a certain layout, just like a Word document. The only difference is that Word is designed to be printed, while HTML is designed to display on a website.

      Also, exclude VBA as well as macros. VBA is a programming language.

    • bstix@feddit.dk
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      3 days ago

      Well, you can’t make Tetris in HTML without including some other language that has loops and variables.

      I’m also not sure if you can do it in Excel without using VBA, which is a programming language. Excel doesn’t do circular logic in the document sheets.

      Anyway the issue or joke is the lack of definition of “programming”.

      HTML is a text encoding system. It’s not that different form something like the Morse code. It’s only instructions for how to decipher a series of codes. It takes input and presents it as an output, starting from the beginning and working its way to the end.

      In my very unofficial opinion, a “program” is something that is able to “run” by itself, so that the code itself has instructions for which part of the code to run.

      If you decipher a morse code, it doesn’t suddenly have instructions that force you to go backwards in the code and decipher from there or to jump to different sections. The text output might tell you to do so, but if you follow the text, then you’re doing something else than deciphering morse code.

      HTML works the same. It start from the top and interprets its way down. It can have some conditional statements, but nothing that will make it go backwards and rerun the same instructions again.

      The interpretation is of course more advanced than Morse code and it can call other languages to do stuff, so HTML is basically a document describing a job procedure in that way. The individual jobs can be reoccurring tasks, but the document itself isn’t.

      So in my opinion it’s not “running” anything. It’s just a document being printed on screen.

      I’ll admit that “one-shot” programs are a thing, and documents with variables do exist, so it’s not clear cut. A programming language should be capable of those things though, and HTML isn’t one on its own.

        • bstix@feddit.dk
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Good to know.

          It seems kind of half assed though.

          I’ve only used it briefly to access the filesystem. Having to paste code into the reference field in the name manager is a special kind of masochistic practice.

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

            It’s a huge pain, especially considering selection shortcuts are overwritten.
            I dont work with Excel anymore, but there are python scripts on github to help with lamba management via export/import.

    • jimmux@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      Simon Peyton Jones is about as big an expert on programming languages as you can get, and he’s on the record as saying Excel is a functional programming language.

OSZAR »