4 ms·
Of all the absolutely fantastic stuff that Zig gets right, I think my favourite is the error handling. While it would be cool to get an error payload, I would
by malcolmstill 6y ago
Of all the absolutely fantastic stuff that Zig gets right, I think my favourite is the error handling.
While it would be cool to get an error payload, I would hope that if that was added to the language, that it doesn't affect the current ergonomics of error handling.
Where I've really needed to get some data back out, I've passed in a pointer to a struct that gets populated.