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
    4
    arrow-down
    1
    ·
    4 年前

    LISP

    It’s easier to get into than you’d think – and SICP (Structure and Interpretation of Computer Programs, a seminal text) is written in Scheme, a Lisp. LISP

      • acidwash jeans
        link
        fedilink
        arrow-up
        2
        ·
        4 年前

        LOLOL I’m definitely a convert! I’m not even mad, though; it’s a meme for a reason

      • acidwash jeans
        link
        fedilink
        arrow-up
        1
        ·
        4 年前

        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 年前

            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 年前

                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.