News for hackers. Stuff that matters.
Re:Why is Zig so Cool? by b33j0r on Friday November 07, 2025 @10:50PM (#45853977)
This is annoying. It’s because errors were designed to be a bitset and not have pointers. I would also prefer that they were a `union(enum)`.

We are free to do that as a return type like `Result(T)` and just forgo using `try`, but yeah, I wish this was in there.

There are no comments on this comment yet.