DEV Community

Discussion on: Go is not OOP

Collapse
 
fernandosolivas profile image
fernandosolivas

Python64 nice explanation about Go but I have some considerations.

Only inheritance is a characteristic of OOP because in Go, Composition have prevalence over inheritance. With that said, Go can achieve Polymorphism, Abstraction and Encapsulation.

I can agree, Go isn't a language naturally designed to OOP but you can achieve at least the most important things of OOP, so in my opinion.

Go is awesome, we just need separate concepts from languages characteristics.