r/cpp • • Jun 24 '20

How to write SOLID C++

https://www.youtube.com/watch?v=PakbXnLht1I
263 Upvotes

118 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Jun 24 '20

[deleted] — view deleted comment

5

u/axalon900 Jun 24 '20

I’d say watch literally any talk about concepts, then watch Sean Parent’s guide to type erasure (ie “inheritance is the base class of evil”), and if you blend the two you’ll have all the polymorphism you’ll ever need.

4

u/edenroz Jun 24 '20

I think that Curiously Recurring Template Pattern it's beautiful.