Part 4. Functions

Functions are reusable blocks of code.

11 items

Section Title
1 The Structure of a Function
2 Parameter Syntax
3 The return Keyword
4 Returning a Struct
5 A First Example
6 A First Example
7 What Anonymous Functions Usually Mean
8 A Simple Function
9 A Mental Model
10 What “Exported” Means
11 Zig Generics Use comptime