Email or username:

Password:

Forgot your password?
nixCraft 🐧

Q: Whats the object-oriented way to become wealthy?

A: Inheritance

11 comments
Flo(h)rian Kohler

@nixCraft keep a relationship to an object of the upper class

australopithecus

@nixCraft
Huh, I assumed it was gonna involve having a lot of factories

australopithecus

@nixCraft
PS: what's the Rusty way of becoming wealthy?

Take ownership of everything

kæt

@nixCraft The great thing about inheritance is that it gives you access to protected methods.

Daniel Neuman

@nixCraft Establish a monopoly using a singleton.

Go Up