|
|
|
|
|
by qtplatypus
2524 days ago
|
|
Its a pity that they listened to the members of the community that was opposed to try. I was a massive fan of try or anything else that would prevent me writing the same boilerplate code. I feel some in the go community have become convinced that the “go way” is to write the same code over and over again. |
|
Implementing try now is splitting the community and introducing what will likely be new technical debt. It doesn't fundamentally change things, it only makes the language more complicated in a way that's both weird* and likely to become obsolete once generics are a thing.
They should focus on xerrors for now and wait until generics are implemented and try again.
* weird as in there are no macros and there's no other language construct that behaves like this so it's a totally unique and new thing for Go