Re: [go-nuts] implement 'error operator' in go similar to rust?

2016-11-16 Thread Ian Lance Taylor
On Wed, Nov 16, 2016 at 9:36 PM, Nick Evgeniev wrote: > > I've just read about 'error operator - ?' introduced in rust > https://www.infoq.com/news/2016/11/rust-113-released and ... do you think we > could see something like this in go as well? > > It could eliminate lot's of

[go-nuts] implement 'error operator' in go similar to rust?

2016-11-16 Thread Nick Evgeniev
hi, I've just read about 'error operator - ?' introduced in rust https://www.infoq.com/news/2016/11/rust-113-released and ... do you think we could see something like this in go as well? It could eliminate lot's of 'idiomatic if spaghetti' in go programs... hopefully it's less complex than