4 ms·
> What I am yet to find in any programming language is a reliable way to put my cursor somewhere in the code base, and know exactly all the possible errors whic
by fao_ 2y ago
> What I am yet to find in any programming language is a reliable way to put my cursor somewhere in the code base, and know exactly all the possible errors which can happen, where they could come from, and whether I've handled them (or might be interested in handling them).
Zig's error types and error unions seem like a decent approach to achieve this.
- metaltyphoon 2y agoExcept they can’t carry extra information with it