Talk #1172
Modern C++: how inheritance and virtual functions fell out of fashion
0%
Description
C++ experts seem to agree that the need for inheritance and virtual functions has declined, while solutions based on generic functions and classes have become more and more important.
The talk should compare OO and generic programming paradigms and how C++ supports both of them. The performance and maintenance aspects should be discussed. Most importantly examples should compare the different approaches.
Updated by Steinberg, Vinzent over 8 years ago
Instead of classes Rust has traits, which do not have the disadvantages of inheritance. I might spend some time on this in my upcoming talk. (I'll have to see whether I can afford the time spent on explaining traits though.)
Updated by Kretz, Matthias over 8 years ago
I'll have to see whether I can afford the time spent on explaining traits though.
I don't know Rust's traits, but if they are related to C++'s type traits you might take a shortcut there. We recently covered type traits in one of the meetings.