3 ms·
check() and handle() have rather different semantics; it's still just error returns, just with a bit of syntax sugar. It's also just a proposal which received
by Carpetsmoker 7y ago
check() and handle() have rather different semantics; it's still just error returns, just with a bit of syntax sugar.
It's also just a proposal which received a lot of feedback/criticism, and eventually they decided to go with another try() proposal which ended up being abandoned after criticism. I'm not quite sure what the current status is here.
So nothing is "being added" in Go 2 thus far.