• zaphodb2002@sh.itjust.works
    link
    fedilink
    arrow-up
    43
    ·
    2 months ago

    Hey I’m both an annoying Rust user and I also don’t understand the borrow checker. I just put & and * in front of things until it works.

    • howrar@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      2 months ago

      Same. I keep thinking back to my time TAing for an intro programming course and getting students who just add random braces until their code compiles. That’s me right now with Rust pointers.