Hi, everyone

TL;DR - post below your suggestion for a good programming language for an almost-rookie teacher/educator/writer to start using.

More info: I am trying to decide on which programming language to learn. I know my way around HTML and CSS from being active online, but haven’t done much programming apart from this. I write, teach, and work with digital teaching/learning products a lot. In 2021, I think there will be plenty of time for me to start working with programming. I don’t mean just “learn to code” - I mean using the language(s) as an educator/writer/publisher. Libre / open source context preferred. Which languages look like they fit the bill, Lemmy?

  • acidwash jeans
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    AFAIK, you /can/ use the parentheses as tags in XML, … but it’s okay if it’s not for you!

      • acidwash jeans
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        I actually haven’t heard of SXML, so I meant regular lisp. For me, I just mean that this is pretty tree-based, so far as I can tell (I’m not an actual programmer, though, which might be the issue with my understanding):

        (defun foo (bar baz)
          (if (predicate)
              (do if true)
            (do if false)))
        
          • acidwash jeans
            link
            fedilink
            arrow-up
            2
            ·
            4 years ago

            Oh, well if you just mean a formatting thing – you can format a source file however you want :) But yeah, that’s not really the popular way to do it. For me, just the opening tags + indentation work well enough to delimit everything, but to each their own.