Hacker News new | ask | show | jobs
by tokumei 1581 days 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.
1 comments

The article shows that this approach adds to runtime even in the non-erring case.