News for hackers. Stuff that matters.
Re:Where Everything Went Wrong: Error Handling and Error Mes... by malcolmstill on Friday February 19, 2021 @02:36PM (#26197079)
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.

There are no comments on this comment yet.