|
|
|
|
|
by jhgb
1460 days ago
|
|
> and IMO it's very biased towards virtual methods to solve polymorphism. Is it? These days I'd expect C++ to be very biased towards using templates for polymorphism. After all, templates are a thing that C++ provides with functionality that other languages often lack, whereas in the field of virtual methods/"dynamic dispatch OOP" C++ severely lags behind other languages. Choosing between two features of a language and using exactly the one that is worse in comparison to your competition feels wrong to me. |
|