2 ms·
I've never liked exceptions, its always awkward combination with returning null or throwing exceptions, or error codes. It always ends up breaking some abstract
by rr808 5y ago
I've never liked exceptions, its always awkward combination with returning null or throwing exceptions, or error codes. It always ends up breaking some abstraction making it leaky - eg read_doc throws a file exception, or web exception or higher level exception that has no useful detail.
I'm really heartened in the last few years that FP popularity has caused more people to avoid exceptions and even golang doesn't support them.