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?

  • UnpopularCrow@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    I think it comes down to how you learn. I’ve found programming books useful because I tend to learn quickly from books. I know others do not. Regardless, if I’m reading a programming book, it is usually nearby a computer where I can try stuff out. At the end of the day, the time at the keyboard will be time well spent when learning a language.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Exactly. I know I learn the best from reading. I’ll read the book, do the exercises, then reread the book after a while. The first pass I pick up some of it, and the second pass I pick up a lot more detail. Once I’ve built the mental model