159
you are viewing a single comment's thread
view the rest of the comments
[-] RustyNova@lemmy.world 33 points 5 days ago

I don't understand why people hate the borrow checker. Just make sure that you own the value until everything is done using it, or put it into a smart pointer

[-] Sunrosa@lemmy.world 1 points 2 days ago

I basically never have borrow checker issues at all anymore, and smart pointers are basically never necessary. It takes getting used to, but it stops being an obstacle with practice.

[-] RustyNova@lemmy.world 1 points 2 days ago

Yup. Although I like smart pointers due to their simplicity (unless it really needs performance), as well when dealing with tokio's spawn (eww. Smol and future combinators are way better)

Although trait bounds are always a bigger issue for me... probably because of my biblically accurate trait bounds

this post was submitted on 06 Oct 2026
159 points (96.0% liked)

Programmer Humor

33571 readers
983 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS