Skip to content

Being successful Quote by Bjarne Stroustrup

“Defining OO as based on the use of class hierarchies and virtual functions is also practical in that it provides some guidance as to where OO is likely to be successful” quote by Bjarne Stroustrup
Download Open image
“Defining OO as based on the use of class hierarchies and virtual functions is also practical in that it provides some guidance as to where OO is likely to be successful”

Bjarne Stroustrup

About This Quote

Source Book: The C++ Programming Language, 4th Edition, 2013

Object‑oriented design works best when it follows class hierarchies and virtual functions, offering clear guidance on suitable problems.

In simple terms: OO works well with class hierarchies and virtual functions.

Key Takeaway

Use class hierarchies and virtual functions to guide OO design.

Themes

software design object‑orientation guidance

Mood

technical educational

Type

programming design philosophy

When to use this quote

  • large codebases
  • framework development
  • API design

Key Concepts

inheritance polymorphism design patterns

Questions to Reflect On

  • When should you avoid OO hierarchies?
  • How do virtual functions impact performance?
A Different Perspective

May limit flexibility in languages lacking strong OO support.

3.1 out of 5 (6 ratings)

More by Bjarne Stroustrup

Explore all 58 Bjarne Stroustrup quotes

More Being successful quotes

Browse all 1,002 Being successful quotes