Skip to content
0:00 / 0:00

#c++#inheritance#genericprogramming

Bjarne Stroustrup - Object Oriented Programming without Inheritance - ECOOP 2015

ECOOP !

442 subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2015 to 2022.
  • Presented by Bjarne Stroustrup, creator of C++
  • An opinion. It argues one side of a question engineers disagree on.

Advanced. Deep dive for people who know the field.

42K views11 years ago2 recommendations

Programming languagesSoftware designC++Object-oriented designDesign patterns

Bjarne Stroustrup explains how to achieve object-oriented programming goals in C++ using generic programming and templates instead of class hierarchies.

ECOOP, Prague July 9th 2015. 2015.ecoop.org curry-on.org

Why it's here

2 people recommend this

What people say. Recommended as an insightful talk by the creator of C++ on avoiding inheritance in favor of generic programming.

u/impuristin r/typescript • Recommends

On “How to learn OOP?”

Why learn to do it wrong from the start. Object has-a instead of object is-a leads to better overall code. The L in SOLID Listkoff Substitution principle is commonly violated by industry class libraries. In the POODR book Sandi Metz highlights why inheritance is usually a path to expensive changes. If the industry players cannot get it right a beginner is gonna assume that’s what OO is. When it fundamentally isn’t. link to this video

u/Platzin r/haskell • Recommends

On “Andrei Alexandrescu - "Generic Programming Must Go"”

amusing given Bjarne Stroustrup's latest elaboration of generic programming / constraints / parametric polymorphism in C++ link to this video