322
OOP at home:
(feddit.nu)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
When I first started using Go I bemoaned the lack of true inheritance and classes. Now I love it.
I thought it didn't have classes in name only, isn't a struct with methods basically a class?
Depends on what you mean by “basically a class”. If you mean inheritance, overriding, and more generally class/inheritance based polymorphism, no, it does not. Those require dynamic dispatch, which Go does not have (for concrete types, which is what we’re talking about here).
a class can be inherited from, a struct can not.