4 ms·
I wish the error handling proposal had gone the same way. The numerous error handling proposals finally got an official proposal [1] for a "try" keyword, which
by atombender 2y ago
I wish the error handling proposal had gone the same way. The numerous error handling proposals finally got an official proposal [1] for a "try" keyword, which was arguably less elegant than some other proposals, and got a lot of pushback, and the Go team eventually withdrew it for somewhat unclear reasons. They admitted the proposal was flawed, but the main reason seems to be that many comments didn't want a solution in the first place ("for many of you it’s simply not a problem to solve").
[1] https://www.infoq.com/news/2019/07/go-try-proposal-rejected/ https://www.infoq.com/news/2019/07/go-try-proposal-rejected/