Comment by NateDad
11 years ago
The type system is a concern about the complexity for the users of Go, not for the compiler developers.
11 years ago
The type system is a concern about the complexity for the users of Go, not for the compiler developers.
How exactly? Ignoring issues of backwards compatibility for the moment, I don't think Java's introduction of generics added a ton of complexity for developers, and I don't see why Go would either. In Java's case it seemed like the complexity was definitely on the compiler side, due to their type erasure approach.
I admit I'm not an expert in programming language design though, so I may be completely wrong about both Java and Go.