2 ms·
Interestingly enough C++ has a recent proposal that converges to a similar design from the other direction (i.e. exceptions). http://www.open-std.org/jtc1/sc22
by leni536 7y ago
Interestingly enough C++ has a recent proposal that converges to a similar design from the other direction (i.e. exceptions).
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0709r2.pdf http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p070...
It's still a lot more implicit than go's design, as it's meant to be compatible with regular exceptions.