3 ms·
Isn't that exactly what Rob Pike is saying with the vector space analogy?
by nulltype 11y ago
Isn't that exactly what Rob Pike is saying with the vector space analogy?
- knucklesandwich 11y agoI think that's what he's appealing to, but I have a hard time reconciling that sentiment with many design characteristics of Go. Go's type system for instance... I don't think he fully grasps "what he's trying to solve" by having a static type system in golang, when the language has things like unsafe casting, null pointers, a lack of parametric polymorphism, etc. As a programmer tool, its hugely weakened by these design decisions... there are large classes of properties about code that are simply impossible (or are much more complicated) to encode using types in golang. And yet in their literature on some of these subjects, they make an appeal to simplicity [1]. I think there's a disconnect here between theory and practice. [1] https://golang.org/doc/faq#generics https://golang.org/doc/faq#generics