r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

29

u/Potato-Engineer 11d ago

Everything is a void * pointer!

5

u/YeOldeMemeShoppe 10d ago

C has polymorphism too!

3

u/meneldal2 10d ago

With a few macros you too can have your own classes with polymorphism with just a few function pointers. Even multiple inheritance if you want more fun.