1. Which is a core Zig design principle?
- No hidden control flow and no hidden allocations
- Hidden memory allocations for convenience
- Exceptions for all errors
- Garbage collection
Show answer
Answer: No hidden control flow and no hidden allocations
Zig makes control flow, allocation and errors explicit.
Lesson: What Zig Is and Why It Exists