News for hackers. Stuff that matters.
Re:Three Months of Go from a Haskeller’s perspective (2016) by simiones on Wednesday November 04, 2020 @09:48AM (#24989500)
I think even more than the lack of generics, Go is difficult to read because it forces you to mix the error path with the success path in every function which can possibly fail, often making you bubble errors up the call stack manually.
Re:Three Months of Go from a Haskeller’s perspective (2016) by eru on Thursday November 05, 2020 @03:13AM (#24996496)
Well, the onerous error handling is a symptom of the lack of generics.

Go has no facilities to would allow you to abstract away the repetitive parts of error handling.