Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> exceptions in C++ are a foot gun

How are they a foot gun? It's not like C++ is the only language with exceptions. So what is particularly dangerous about C++ exceptions?

> trying to find some new solution

C++23 already has std::expected (= result type).



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

Search: