Mojo's Safe Default
Why value semantics prevents surprise bugs.
Safe Unless You Say Otherwise
Mojo's default is to give you independent copies. You opt into sharing only when you truly need it. 🛡️
Why a Safe Default Matters
A safe default means the easy path is also the correct path. You avoid bugs without thinking hard about them.
All lessons in this course
- What Value Semantics Means
- Copies vs Shared State
- Mojo's Safe Default
- A First Look at Mutation