Especially when compared to generics. They spent so much time on that, and for what? They say themselves that most users are unlikely to use or encounter it. Personally, I’ve found Go generics to be useless in most of the cases they’d be handy, because of the limitation about methods being required to match struct specifiers. Everywhere else I’ve used them, I could have easily worked around them and probably come out with more clear code.
Error syntax jockied with generics for first place user concern for years, and they chose to roll out the change that would have a lesser impact on user convenience and code readability.
I liked the thorough explanation of the decision process, but I think universal approval is a paralysing requirement. This risks stagnation.
They weren’t looking for universal approval. They were looking for widespread/majority approval.
Especially when compared to generics. They spent so much time on that, and for what? They say themselves that most users are unlikely to use or encounter it. Personally, I’ve found Go generics to be useless in most of the cases they’d be handy, because of the limitation about methods being required to match struct specifiers. Everywhere else I’ve used them, I could have easily worked around them and probably come out with more clear code.
Error syntax jockied with generics for first place user concern for years, and they chose to roll out the change that would have a lesser impact on user convenience and code readability.
Bitter Ruaidhrigh is bitter.