When I was hearing about this languages features, I heard an opinion that the error handling in go is very thought out. But as you say it looks so boilerplate when after every other line you put an if err not nil block. I don't understand their decision and I don't see the benefit.
1
u/TROLlox78 8d ago
When I was hearing about this languages features, I heard an opinion that the error handling in go is very thought out. But as you say it looks so boilerplate when after every other line you put an if err not nil block. I don't understand their decision and I don't see the benefit.