TL;DR
Learn the Zig optional type and null safety — use ?T to represent nullable values, unwrap safely with orelse and if, and match on tagged unions.
Key concepts
- zig optional type
- zig null safety
- zig tagged unions
- zig orelse
- zig nullable
TL;DR
Learn the Zig optional type and null safety — use ?T to represent nullable values, unwrap safely with orelse and if, and match on tagged unions.
Key concepts