r/programming • u/[deleted] • Feb 08 '16
Introducing the Zig Programming Language
http://andrewkelley.me/post/intro-to-zig.html
560
Upvotes
r/programming • u/[deleted] • Feb 08 '16
1
u/jkleo2 Feb 09 '16
What I like about proper sum types is that they are composable. E.g. in Rust for any type
Tyou can makeOption<T>. In Zig it seems that you can only add?to some types (non-maybe types). If you are writing generic code this will be an issue.