0Pricing
Mojo Academy · Lesson

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

  1. What Value Semantics Means
  2. Copies vs Shared State
  3. Mojo's Safe Default
  4. A First Look at Mutation
← Back to Mojo Academy