3 ms·
This notion that having a huge gaping defect is just a different way of doing things is absurd. Lacking parametric polymorphism is completely unacceptable. Th
by asdasf 13y ago
This notion that having a huge gaping defect is just a different way of doing things is absurd. Lacking parametric polymorphism is completely unacceptable. This is a solved problem as of 1973. There is no excuse. Inheritance has nothing to do with it, and "all the factory code" has even less to do with it. You are saying "I like go because it isn't java", which is fine, but you are implying that being java is necessary to have parametric polymorphism, which is not at all accurate.
- jamra 13y agoI like go because it's not object oriented. This forces me to read the implementation of the algorithm, not follow an abstraction hierarchy. I like Java as well. It can be difficult to read the implementation when you are surrounded with classes. That was the point I was trying to make. If you are thinking in generic containers and are programming in Go, you either chose the wrong language or need to change how you are thinking.
- asdasf 13y ago>I like go because it's not object oriented Lots of languages are not object oriented and still have parametic polymorphism. Like SML. In 1973. >If you are thinking in generic containers and are programming in Go, you either chose the wrong language or need to change how you are thinking. If you are repeating the same baseless assertion routed in ignorance, then you either chose the wrong forum, or need to change how you are thinking.