4 ms·
I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.
by tokumei 5y ago
I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.
- gumby 5y agoThe article shows that this approach adds to runtime even in the non-erring case.