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 STROUSTRUPDestructors for virtual base classes are executed in the reverse order of their appearance in a depth-first left-to-right traversal of the directed acyclic graph of base classes.
More Bjarne Stroustrup Quotes
-
-
Java isn’t platform independent; it is a platform
BJARNE STROUSTRUP -
“Legacy code” often differs from its suggested alternative by actually working and scaling.
BJARNE STROUSTRUP -
Our civilization depends critically on software, and we have a dangerously low degree of professionalism in the computer fields
BJARNE STROUSTRUP -
I do keep the main points straight in my head most of the time, and I do know where to find the details when I need them.
BJARNE STROUSTRUP -
You can hide all kinds of clever and dirty code behind a good interface if you really need such code.
BJARNE STROUSTRUP -
Always think about how a piece of code should be used: good interfaces are the essence of good code.
BJARNE STROUSTRUP -
C++ is designed to allow you to express ideas, but if you don’t have ideas or don’t have any clue about how to express them, C++ doesn’t offer much help.
BJARNE STROUSTRUP -
Most of the programmers in ten years will be us, and we won’t get much smarter.
BJARNE STROUSTRUP -
I assume that a sufficiently skilled will be able to do anything not explicitly forbidden by the hardware.
BJARNE STROUSTRUP -
I find languages that support just one programming paradigm constraining
BJARNE STROUSTRUP -
Certainly not every good program is object-oriented, and not every object-oriented program is good.
BJARNE STROUSTRUP -
C++ is my favorite garbage collected language because it generates so little garbage
BJARNE STROUSTRUP -
My impression was and is that many programming languages and tools represent solutions looking for problems, and I was determined that my work should not fall into that category.
BJARNE STROUSTRUP -
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off.
BJARNE STROUSTRUP -
Other programming languages constitute a mountain of ideas and inspiration-but it has to be mined carefully to avoid featurism and inconsistencies.
BJARNE STROUSTRUP