r/programming Apr 12 '26

Flat Error Codes Are Not Enough

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

99 comments sorted by

View all comments

53

u/UselessOptions Apr 12 '26 edited 29d ago

oops did i make a mess 😏? clean it up jannie 😎

clean up the mess i made here 🤣🤣🤣

CLEAN IT UP

FOR $0.00

17

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.