3 ms·
It's not classic OOP without inheritance and virtual functions. But nobody seriously uses virtual functions anymore, except where they would need to use functi
by ncmncm 7y ago
It's not classic OOP without inheritance and virtual functions.
But nobody seriously uses virtual functions anymore, except where they would need to use function pointers, and for precisely those uses virtual functions are way better: cleaner, safer, often faster.