Hacker News new | past | comments | ask | show | jobs | submit login

> I used function pointers, and these created kind of a “poor man’s vtable.” Not exactly “polymorphism,” but similar.

It is indeed polymorphism. A form of interface polymorphism I guess.




Well, the hierarchy needed to be manually maintained. There wasn't really any kind of "super" or "parent."




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: