Project

General

Profile

Talk #1172

Modern C++: how inheritance and virtual functions fell out of fashion

Added by Kretz, Matthias almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
2014-11-12
Due date:
% Done:

0%

Estimated time:
Talk Author(s):
Presenter:

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.

#1

Updated by Steinberg, Vinzent over 5 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.)

#2

Updated by Kretz, Matthias over 5 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.

Also available in: Atom PDF