|
|
|
|
|
by nordsieck
582 days ago
|
|
>> Go is not object-oriented language > That is most definitely not true. I think at best, you could say that Go is a multi-paradigm language. It's possible to write Go in an object oriented style. It's also possible to write programs with no methods at all (although you'd probably have to call methods from the standard library). That's in contrast to a language like Java or Ruby where it's actually impossible to avoid creating objects. |
|
Creating objects on the heap isn't the only defining feature how a language does OOP or not.