4 ms·
Operator overloading has nothing to do with OOP. In go you get polymorphism via interfaces and you can share implementation via embedding. http://golang.org/do
by mseepgood 14y ago
Operator overloading has nothing to do with OOP.
In go you get polymorphism via interfaces and you can share implementation via embedding.
http://golang.org/doc/effective_go.html#embedding http://golang.org/doc/effective_go.html#embedding