Hacker News new | ask | show | jobs
by mamcx 4669 days ago
The advantage of exceptions is the ability to pass back the error and make mandatory dealing it (even if ignoring).

Exist a way to have both styles, cleanly?

I have thinking in how could look a language where objects, like in UNIX pipes, have stdout & stderr, and if stderr is consumed (returning codes) the exception is handled, but if stderr is not consumed, then raise it?