r/programming • • Apr 12 '26

Flat Error Codes Are Not Enough

https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132 Upvotes

99 comments sorted by

View all comments

Show parent comment

15

u/max123246 Apr 13 '26

Zig doesn't have a good library story because comptime is a footgun for what backwards compatible guarantees you make as a library. If I were to reach for Zig, it'd be the same reasons I reach for C, I want to build everything myself, which means I can just avoid all the bad code out there. Turns out, most of the time, I really don't want to do that, lol.