|
|
|
|
|
by grey-area
212 days ago
|
|
Microservices are entirely unrelated to classes and in no way endemic to go. Go’s lack of inheritance is one of its bolder decisions and I think has been proven entirely correct in use. Instead of the incidental complexity encouraged by pointless inheritance hierarchies we go back to structure which bundle data and behaviour and can compose them instead. Favouring composition over inheritance is not a new idea nor did it come from the authors of Go. Also the author of Java (Gosling) disagrees with you. https://www.infoworld.com/article/2160788/why-extends-is-evi... |
|