Well I must say the Go team is certainly putting in the work to avoid a catastrophic major version bump (e.g. Python). That said, any major additive change to Go, especially generics and/or try/catch will push me away from the language. If I need a well designed language, I have Rust. Go's sell for me is it's so naively simplistic it's actually useful when your team members are idiots. If they bolt on type variables,…
Go 2, here we come
31–40 of 534 posts
Re: Go 2, here we come
#32Hahah oh no, I literally started learning Go last night. Now what?
Re: Go 2, here we come
#33I tried Go a while ago. I was hooked by the performance , the community around it and vendors support ( AWS , Heroku , GCloud etc...) but I got quickly fed up by the awkward package management system, the weird syntax and the horrible idea of $GOPATH, especially on Windows. Haven’t tried it since. Hope lots of this change to make the language more welcoming for Newcomers to the language.
If $GOPATH was your biggest complaint, now may be a good time to give it another look. As of 1.11, there's an experimental feature called go modules that lets you avoid using GOPATH. I believe it's going to be non-experimental starting in 1.12.
Re: Go 2, here we come
#34I’m hoping that https://github.com/golang/go/issues/19623 will come through, and we’ll get a native “true integer” type (and hopefully a rational one as well, though maybe this is pushing it a bit). This is really something that should be implemented at the language level, so that “int” can become a true integer, yet still remain efficient in many cases. It is bizarre to me that languages boasting built-in language-l…
Re: Go 2, here we come
#35Re: Go 2, here we come
#36I hope they keep the changes reasonable and do not introduce any breaking changes. I like the language as it is now and I'm very productive in it.
Well for the first round they are looking at: 1. Allowing generalized unicode identifiers. That is hardly likely to break anything except possibly some crazy edge cases that dont happen in real code. 2. Binary integer literals. (unlikely to break things) 3. allowing seperating groups of digits in a number with _ like 1_000_000 (unlikely to break anything) 4. Permit signed integers as shift counts (no need to cast ant…
Also, I prefer using ' for the thousands separator and was happy when C++ adopted it. It's less visually intrusive, especially with variable width fonts, and some calculators even use apostrophe. Also, in identifiers, the underscore has semantic meaning: foo_bar is different from foobar. But 1'234'567 is meant to be identical to 1234567, so underscore isn't the best choice.
Re: Go 2, here we come
#37Big fan of both Go and also Rust. It is time we move beyond C and C++
So, do you do functional programming, and is Rust a better (with all the subjectivity that word implies) language than Go?
Re: Go 2, here we come
#38I'll be very sad if this goes the way of Perl 6
Re: Go 2, here we come
#39Big fan of both Go and also Rust. It is time we move beyond C and C++
Re: Go 2, here we come
#40I'll be very sad if this goes the way of Perl 6
At least Perl 6 is DOA and there's little confusion about it. The fiasco that was Python 3 was much worse for how drawn out it was.
Python 3 took a lot of time to take over but it seems that they're finally leaving Python 2 behind and the language is still extremely popular.