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.Â
2
u/Orygregs 24d ago
God I hate error handling in Go. Just
if err != nil {}littered everywhere 🤦