2 ms·
That's a poor substitute for exceptions IMO. Also almost all libraries including standard library use another approach via return error objects, so if one would
by vbezhenar 8y ago
That's a poor substitute for exceptions IMO. Also almost all libraries including standard library use another approach via return error objects, so if one would want to use Go with panics as error handling, he would need to rewrite or wrap at least standard library. I would stick with Java at this point. Its library is terrible, but usable in the end.