aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/35_enums.zig
AgeCommit message (Collapse)Author
2021-02-09Moved exercises to exercises because exercisesDave Gauer
2021-02-06Add ex 35,36 enums; updated READMEDave Gauer
I'm changing the order of some more topics. Trying to explain the value of pointers when we're mostly dealing with stack-sized values like integers feels convoluted. So I'm starting with enums (which also has a nice segue from an earlier "switch" exercise). Then structs. Then unions (just in keeping with the order of these items on ziglearn.org) and THEN pointers and multi-pointers and slices.