
Delve into the essentials of Zig, highlighting memory and type safety, no hidden control flow, and compile-time metaprogramming, as you learn hello world, data types, and a currency conversion project.
Set up Zig by downloading, installing, and configuring it with environment variables. Write a hello world program using std.debug.print, build with Zig, and run in the terminal.
Discover variables, constants, and data types in zig, including bools, ints, floats, tuples, and arrays, with const vs var, compile-time inference, and console printing.
Explore how Zig uses relational and logical operators within selection control statements, demonstrating if and if-else, chaining to simulate multiple options and drive conditional output.
Master the while loop, a flexible repetition control that runs code while a condition holds, using counter and sentinel patterns and examples like first powers of two and three.
Explore declaring and calling functions in Zig with the fn keyword, including parameterless and parameterized forms returning void or i32. See examples of print messages and adding numbers.
Implement a Zig birthday struct with a name as a u8 array and age as a u32, and a celebrate method that prints greetings and candle blowouts up to age.
Welcome to The Complete Zig Programming Course!
Zig is relatively new general-purpose programming language and toolchain.
Designed as a successor to C, Zig was created as a way for coders to build and maintain functional software that is robust, reusable, and easy to program.
This course is a fantastic introduction to the functionality of Zig, and covers everything you need to skill up for your next project!
Why Learn Zig?
One of the top programming languages British developers want to work with in 2024! (StackOverflow survey 2023).
A simpler and more modern syntax than C
Zig has a focus on performance and safety
A great language for systems programming and game development!
Why take this course?
The first and best course on Zig!
A practical and project-focused course that lets students put their new skills in to practice immediately
The FOUR projects you'll build yourself are:
1) A currency calculator
2) An odd/even detector program
3) A temperature calculator
4) A happy birthday candles program.
This 3.5hr course starts with the fundamentals of Zig before moving on to control statements, operators, arrays and slices, and finally functions and structs.
The Complete Zig Programming Course is taught by the brilliant Dr. John Baugh! John's taught almost 15,000 students how to code on Udemy and he's rated highly by them (4.6!) Previously a software engineer, John also has a Ph.D. in Computer and Information Science and is a Professor and Lecturer at multiple institutions in the US.
★★★★★ 'An amazing tutor, love his way of teaching. He is experienced, organized and knows exactly what he's doing.' Aly A. The Complete Java Developer Course
★★★★★ 'Dr Baugh [...] breaks things down into concise lectures focusing on one or two new coding structures. He is encouraging [...] and the projects he sets gives you a little bit of free range to do things your own way, with enough pointers to not overwhelm you with the task ahead.' Jonathan G. The Complete C++ Developer Course
★★★★★ 'I really like the instructor, especially his neat and tidy style of teaching. Moreover, he's funny and a nice person.' Emanuele V. The Complete C++ Developer Course