|
|
|
|
|
by jandrewrogers
1463 days ago
|
|
> very biased towards virtual methods This is a function of the type of software you write. There are many large C++ code bases that rely on various types of static polymorphism almost exclusively, rarely having a use case for virtual methods or dynamic polymorphism. There is a similar story with inheritance versus composition; some types of code bases naturally gravitate toward one or the other. The nice thing about C++ is that it as amenable to any of these models should it benefit the application. |
|