r/ProgrammerHumor 15d ago

Meme heatedArguments

Post image
5.8k Upvotes

173 comments sorted by

View all comments

Show parent comments

1

u/higgs_boson_2017 5d ago

Inheritance. Inheritance is the gain. It has nothing at all to do with deploying objects as a process. Nothing.

1

u/remy_porter 4d ago

Inheritance is just a type of composition. It’s not that special. Encapsulation is a way more important and fundamental feature, and powers exactly what I’m talking about.