Hacker News new | past | comments | ask | show | jobs | submit login

I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.



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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: