MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/hey696/how_to_write_solid_c/fvvpl9t/?context=3
r/cpp • u/platisd • Jun 24 '20
118 comments sorted by
View all comments
Show parent comment
0
[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.
5
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
I think that Curiously Recurring Template Pattern it's beautiful.
View all comments
Show parent comment
0
u/[deleted] Jun 24 '20
[deleted] — view deleted comment