Welcome to the next video of the Let's Learn Zig series! Today we go over control flow in Zig.
📚 Topics Covered:
1. Basic if/else statements
2. Putting the value of an if/else statement into a variable
3. Switch statements
4. Optional types
Come watch me stream engine development live on Twitch / pokelego_dev
🔗 Links:
Game Engine ► https://github.com/Zephyr-Engine
Discord ► / discord
X ► https://x.com/pokelego_dev
🖥️ Equipment:
Shure MV6 Microphone: https://amzn.to/49rRfre
Logitech G903: https://amzn.to/4pxNera
32" 4K Monitor: https://amzn.to/4jDLbka
Lightbar: https://amzn.to/49xTeKA
Elgato Camlink: https://amzn.to/4jU106B
1TB SSD: https://amzn.to/4jxPFsp
Camera Tripod: https://amzn.to/3Ldr2Vs
Camera SSD: https://amzn.to/3NDKpYk
0:00 Intro
1:43 if/else
2:57 if/else variables
4:35 switch
6:43 optionals
9:40 switch on enum
11:56 outro
Music I use: Bensound
License code: 8LDV4HESGZFJUL96
Artist: : Lunar Years
#Zig #Programming #Coding