4 ms·
> Always remarkable that such critiques always focus on the utterly trivial, while absolutely ignoring things like concurrency or composing complex systems. Bu
by gclaramunt 12y ago
> Always remarkable that such critiques always focus on the utterly trivial, while absolutely ignoring things like concurrency or composing complex systems.
But generics are a fundamental tool to solve concurrency or composition. How do you propose to compose complex systems when you can't abstract on the type?
How can you add new concurrency constructs that work safely for every type without generics?
- rogpeppe1 12y agoActually Go interfaces map pretty well to a concurrent (and likely networked environment). It's often straightforward to put a network-based implementation behind a Go interface type. When was the last time you saw a web service that is parameterised by a type?
- gclaramunt 12y agoI guess we have a different approach about what to expect in a programming language. Maybe if Go was dynamic or with full type inference, will like it more :) I bet is great for the niche between C++ and Java, but not sure if I would want to use as a general programming language