3 ms·
Yea but Go's solution to errors is a straight jacket. There's nothing in say Java that prevents returning a Result type with an error or value and writing code
by voidfunc 4y ago
Yea but Go's solution to errors is a straight jacket. There's nothing in say Java that prevents returning a Result type with an error or value and writing code that way.
I guess you can panic/recover in go but it's very very unwieldy and not quite the same.