3 ms·
Nitpick - Go is very much an OO language. Almost everything is done using objects. It has a different way of handling inheritance however - it makes a different
by zik 11y ago
Nitpick - Go is very much an OO language. Almost everything is done using objects. It has a different way of handling inheritance however - it makes a different decision in the "Composition over inheritance" debate.
https://en.wikipedia.org/wiki/Composition_over_inheritance https://en.wikipedia.org/wiki/Composition_over_inheritance
- iends 11y agoI've found that there is no real standard definition of what OOP is and people get very angry when you say Go is OOP but it doesn't have inheritance. YMMV though.
- masklinn 11y agoAs far as Alan Kay is concerned (always a pretty good yardstick) > OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late binding of all things.
- redtuesday 11y agoYeah, I like this posting from him http://c2.com/cgi/wiki?AlanKayOnMessaging http://c2.com/cgi/wiki?AlanKayOnMessaging
- fithisux 11y agoGolang is the best. And this is a really amazing thing. Golang does Pseudo OO like Motif. The added value is the composition which is amazing.