• zaphodb2002@sh.itjust.works
    link
    fedilink
    arrow-up
    45
    arrow-down
    1
    ·
    1 month 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
      ·
      1 month 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.