2 ms·
I both prefer error returns to exceptions and find Go's implementation of error returns tedious. There are many other possible implementations that avoid the co
by sanderjd 10y ago
I both prefer error returns to exceptions and find Go's implementation of error returns tedious. There are many other possible implementations that avoid the constant boilerplate. I've seen alternatives that exist in other languages and ideas for a syntax that might make sense in Go elsewhere in this thread, and there are surely others elsewhere.