News for hackers. Stuff that matters.
Re:Why I rewrote my Rust keyboard firmware in Zig: consisten... by dilap on Sunday March 07, 2021 @05:02PM (#26380205)
People are lazy, though. I think if errors can't take payloads, it's inevitable you'll end up with many libraries that don't return error payload information when you wish they did. This will trickle out into software using the libraries, where the end-user will get errors that don't include as much useful info as you'd like. So to my mind, not supporting error payloads in a first class way is contrary to Zig's goal of enabling perfect software. :-)

There are no comments on this comment yet.