News for hackers. Stuff that matters.
Re:Show HN: libcodr7 – fundamental collections in the spirit... by codr7 on Wednesday January 01, 2020 @04:40PM (#21930879)
Yeah, I used to spend a lot of time reinventing OOP in C back in the days. Part of the problem is I learned C++ long before I took a serious look at C.

These days I definitely prefer embedding/baseof since it's more explicit.

When I need polymorphism, stuffing some function pointers in a struct usually works well enough.

There are no comments on this comment yet.