[go-nuts] Re: Proposal: return if any not nil

2018-02-18 Thread John Roth
On Sunday, February 18, 2018 at 12:47:09 AM UTC-7, Krzysztof Kowalczyk wrote: > > Even simpler: > > r, err := try os.Open("blah.text") > > Similar to Swift and what Rust used to have. > > "try foo()" means: if "foo()" returns an error, return the error to the > caller. > If function returns mul

Re: [go-nuts] Latest Tiobe Ranking

2017-10-09 Thread John Roth
On Monday, October 9, 2017 at 12:13:43 PM UTC-6, snmed wrote: > > Hi Ian > > Thank you for your elaboration. I won't choose a language because of such > index, but I'm trying to convince my colleagues of the benefits of go and > therefore no matter how funny such indexes are, it isn't useful as