I’ve been coding for years in a multitude of languages, but other than one c class I had in college I mostly learned through osmosis, or learned new things as they were needed.

So my knowledge is honestly all over the place and with a ton of gaps.

I’m trying to learn rust and starting going through The Rust Book and afterwards I plan on going on Rust by Example and trying to code my stuff as strictly following best practices as possible.

Is that a waste of time? I mean rawdogging it has been working for me for a decade now. Should I just yolo and write what I wanna write in Rust and learn as I go?

  • Nikelui@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    2 days ago

    In my opinion, once you have learned the basics (and a few advanced topics) of programming, you are already 40-50% into learning any other new programming language. If you feel reading a book is a waste of time, skim it to learn the syntax while you work on projects and come back to it when you are stuck on something. Also programming books often have sections about best practices and common mistakes, make sure not to skip those.

    • Graphy@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 day ago

      Yeah when I swap between languages these days I usually just google some form of “cheat sheet” and hope some college kid made one I can reference