107 ms·
Very interesting ideas in there. Especially the thought of an upcoming Go 2 perhaps being done in such a compatible way that "Go 2" is actually "Go 1.1X" He al
by howeyc 8y ago
Very interesting ideas in there. Especially the thought of an upcoming Go 2 perhaps being done in such a compatible way that "Go 2" is actually "Go 1.1X"
He also hints that it would likely only be done to address major issues/concerns/changes such as:
* generics
* modules (perhaps done? time will tell)
* errors (if err != nil {}, extra type information, chaining, etc)
* context
Still to early to tell if anything I listed or he listed would be part of "Go 2" or whatever it happens to be called.
- sitepodmatt 8y agoDon't use the word generics with golang exapple fanboys, just open a world of hate, what's wrong with StringSet.go, IntSet.go and so on (k8s), or fulfilling interface {} as a workaround. Cue hate, give me c# 1.1 anyday
- whatpad 8y agoAre you referring to: https://github.com/kubernetes/kubernetes/blob/master/vendor/github.com/heketi/heketi/pkg/utils/stringset.go https://github.com/kubernetes/kubernetes/blob/master/vendor/... https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/auth/authorizer/node/intset.go https://github.com/kubernetes/kubernetes/blob/master/plugin/...
- deleted 8y ago[deleted]
- endorphone 8y agoThe person you replied to is quoting the slides that posit that generics are a consideration for Go 2.0, so your spittle laden post betrays your own bizarre hangups. "Cue hate, give me c# 1.1 anyday" You brought the hate. Take it when you leave. Thanks.
- mseepgood 8y ago> Very interesting ideas in there. Especially the thought of an upcoming Go 2 perhaps being done in such a compatible way that "Go 2" is actually "Go 1.1X" Go project lead Russ Cox already talked about that on an episode of the Go Time podcast. Transcript: https://changelog.com/gotime/77#transcript-60 https://changelog.com/gotime/77#transcript-60
- fredch 8y agoDon't people just write helper functions to deal with the error checking spam? It's five lines at the top of the file... Anyway, I will miss our GOPATH overlords. I have enough decisions to make, I'm fine with the language making some for me.