27
Borrow Checker
(programming.dev)
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.
That's clever. I lol'd
I'm definitely missing something here. I'm terrible at rust and c++
What you are missing, of course, is the
Rc<Refcell<T>>
that you have to stick everywhere to make a nontrivial Rust program. It's like monads in Haskell, parentheses in lisp, verbosity in Java, or warnings in C - they're the magic words you have to incant correctly to make things work in their weird paradigms.Or an
Arc<Mutex<T>>
if dealing with threads.