3 ms·
Not quite, polymorphism is a bit iffy in Go (there is interface, and it's doable but not great). Type inference is extremely limited (this is also due to a weak
by NhanH 11y ago
Not quite, polymorphism is a bit iffy in Go (there is interface, and it's doable but not great). Type inference is extremely limited (this is also due to a weak type system, with comparison point being ML-family languages for examples) . Global type inference is off the picture without generic/ polymorphic typing.
I don't think Go achieves the look and feel of working with Python and the like.
- s3nnyy 11y agoThe go philosophy is that inheritance "does not scale" and they deliberately went another route: https://golang.org/doc/faq#inheritance https://golang.org/doc/faq#inheritance