upvote
Zig's way is "simple" but not elegant, specifically since it hard codes how error handling is done. Algebraic data types are more elegant, since it can be used not just for error handling, but also other kinds of data modeling.
reply
if you think so then open an issue or contribute to it :D we can discuss about it and decide which is the best option
reply