4 ms·
Don't you miss virtual functions? I found that no matter how you did it, implementing polymorphism in C (with function pointers) is tedious and verbose ; also,
by Ace17 8y ago
Don't you miss virtual functions? I found that no matter how you did it, implementing polymorphism in C (with function pointers) is tedious and verbose ; also, it discourages the creation of new interfaces (too much boilerplate).
- flohofwoe 8y agoNo, I don't use virtual methods (or inheritance, or runtime polymorphism) in C++ that much either.