Zig Fundamentals
This first part lays the groundwork, guiding you from setting up your environment and writing your first lines of Zig code to mastering essential programming constructs. We’ll cover control flow, functions, error handling, and the crucial practice of testing your code to ensure that it behaves as expected. By the end of this part, you’ll have a solid grasp of Zig’s core syntax and philosophy.
This part of the book includes the following chapters:
- Chapter 1, Safety First
- Chapter 2, Setting Up Your Playground
- Chapter 3, Your First Zig Program
- Chapter 4, Control Flow, Loops, and Other Forms of Digital Domination
- Chapter 5, Functions for the Efficient Programmer
- Chapter 6, Error Handling
- Chapter 7, Testing Your Zig Code