|
> Our advice against using exceptions is not predicated on philosophical or moral grounds, but practical ones. ... Things would probably be different if we had to do it all over again from scratch. They are clearly not against them per se. It simply wasn't practical for them to include it into their codebase. And I think a lot of the cons of exceptions are handled in languages like F#, etc. If f calls g which calls h, and h throws an exception, the compiler will require you to deal with it somehow in g (either handle or explicitly propagate). |
> the compiler will require you to deal with it somehow in g
I agree, this is the sensible solution.