by whatsakandr · 1y ago · 0 comments
In my experience I've used exceptions for things that really should never fail, and optional for things that are more likely to.
For practitioners it serves mainly as a pointless gotcha. In safety critical domains the batteries that come with c++ are useless and so while they are right to observe this would be a major problem there they offer no real relief.