Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

  • Bipauler@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    7 hours ago

    What is usually the suggested “easiest” to learn language? I’ve always wanted to code well since I was a young kid and recently oldest kid accidentally got me into playing around with LLM and it orchestrated a few little stupid projects that were just basically to make open code more customized most of the time. I’d really like to actually do it myself and know what was going on better. Any suggestions on where to start? Should I just try diving into rust? I know that’s what my oldest son actually uses himself, although I guess he does outsource a little of his stuff to it at LLM but… I’d love to learn a language so I can do more than just a hello world in. Although maybe I should finish learning how to actually type better first lol

    • Techno-rat@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 hours ago

      I learned it by doing small bash and python scripts first, then moved on to base C.

      So i think id start with python. But difficulty is hard to ascertain tbh. You could also just start in the language you think youre gonna use. Doing a good ol hello world program in it is always a good prelim fit test. If the process seems fairly intuitive, move on to the next program.

      Theres probably two big hands on ways of learning it. One is just writing your own tools when you need em for the practice of it, the other being following a structured course, where you get little assignments of increasing complexity, classic classroom style.

      And all of this probably underlines the main point beautifully. The easiest language to learn is the one you find fun enough to keep practicing with. Because its the ongoing practice thats the real gold.

      • Bipauler@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        So how does one even start? Is there like a web page to download python shit? Or is this just shit that’s naturally built into my system and I should just know already?. I’m using Fedora 44 I think if that helps

        • Techno-rat@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 hours ago

          yeah im p sure you install python or python3 via the fedora package manager to start. Then you create a script, foo.py or something. In there you put the actual code. When that looks good, you can run it by going >python3 /path/to/foo.py

          additional libs can be a bit of headache with python specifically, but most use the helper tool pip, which can also be installed through the package manager

          if im off on anything here lmk, working from inference and memory as im maining nixos atm, where the install process is a bit different :P