4 ms·
Drinking the golaid will turn you into this, extreme conservative programming. Polymorphism is too progressive. golang is a cult.
by lkjasdfasd 11y ago
Drinking the golaid will turn you into this, extreme conservative programming. Polymorphism is too progressive. golang is a cult.
- skj 11y agoGo is heavily based on polymorphism. It just doesn't make the mistake of thinking that inheritance is the proper way to achieve it.
- spriggan3 11y ago> Go is heavily based on polymorphism Go has very limited polymorphic capabilities (implicit interfaces that have huge limitations). And struct embedding isn't composition. Now if you're talking about interface { } everywhere, sure, Go is as polymorphic as Javascript.
- skj 11y agoGo is also based on limitations. The job is to write programs that work, not to create little framework empires. I don't know why you claim that struct embedding isn't composition.
- mintplant 11y agoWhat does that have to do with generics?
- deleted 11y ago[deleted]
- skj 11y agoNothing. But at the same time, the comment I replied to made no mention of generics. Just polymorphism.