Is there a thing like ownership katas?

I think this would be a good idea. This is a huge problem and both books kinda gloss over this topic.

1 Like

What are katas?

Something like this: Kata - Wikipedia

A series of brief exercises that force you to solve a borrowing problem to make a piece of code work.

There's a thing called rustlings.

There is also a famous set of four Rust koans, which for someone used to koans and katas can provide insight into the philosophical underpinnings or Rust.

3 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.