Skip to content

Part 2. Zig Language Fundamentals

A program stores values so it can use them later. In Zig, you store values with two main keywords:

SectionTitle
1Variables and Constants
2Primitive Types
3Integer Types and Overflow
4Floating Point Numbers
5Booleans and Comparisons
6Type Inference
7Undefined Values
8Zero Values and Initialization
9Strings and UTF-8
10Comments and Documentation
11Naming Conventions
12Reserved Keywords