Re:You’re better off using Exceptions
by dllthomas on Tuesday February 04, 2020 @07:50PM
(#22242934)
In the latter case you will often want to pass "data or the fact the data was missing" along to other functions. With a result value (of whatever form) that's trivial. With exceptions, it's certainly plenty doable but it's messy.
[ Parent
| on HN ]
There are no comments on this comment yet.