Start learning at 50

I’ve always wanted to learn programming. I’ve read a blog post saying that at this age it was to late . Then I read a post here in saying the opposite. I’ve found a site that was learn x in y minutes where it has a bunch of languages there. After reading them, the languages that caught my attention were Julia, Clojure and Go. Are any of these good for a beginner or should I start with something else? I know what are variables, can spot an if/else statement but that’s about it. What are some good resources for someone like me who likes to learn by doing things?

  • For the people saying Python is beginner friendly, no, it isn’t. I had to teach it to high school students (I had no choice in the language). Having to have exact indenting, whilst also not caring at all about how you use your variables, not to mention is OOP, is all a bit much for some students, some of whom don’t even fully grasp how to use loops yet. One step at a time.

    • SapientLasagna@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      7 months ago

      One nice thing about learning (and teaching) python is that it’s a multiparadigm language. Students don’t have to learn about indenting until you cover flow control. Classes and OOP can come way, way later.

      I started with C++. Also multiparadigm, but the syntax and compiler errors were brutal, not to mention pointer arithmetic.

      I’m not sure I can think of a language that would be better suited to learning. GDScript seemed kind of nice, and you get to make games.

      • don’t have to learn about indenting until you cover flow control

        Which is one of the very first things they’re taught - “hello world”, variables (“Enter your name”, “hello {name}”), branches, and loops, in that order.

        I’m not sure I can think of a language that would be better suited to learning

        Pascal - it’s what it was designed for. Variables, branches, and loops, with strong types and optional indenting. Once people have a handle on that, THEN move onto OOP.

        • realbadat
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          I am shocked there is someone besides me who still enjoys the wordy C.

          Pascal was the first real language I learned (after basic)

          • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            7 months ago

            Pascal was the first real language I learned (after basic)

            Same. Taught myself some Basic in high school (first on a school computer, then we got a computer at home), learnt Pascal in 1st year Uni (programming basics - wrote a bunch of stuff for myself in Pascal for my computer) then C in 2nd year (OOP), and then Assembler in 3rd year. Later I taught myself (with the help of some books and courses… and intellisense! 😂) C#.

            • Oh, I nearly forgot! I had to learn Python too… because I had to teach it. Did try to argue for C#, which is allowed under the curriculum (and would be a more suitable language to teach), but then found it’s hard to get that agreed on because so many schools just run Python because it’s easier for them from an administrative point of view - I found I wasn’t alone in this predicament. Thanks school admins…