Destructors 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.
BJARNE STROUSTRUPDefining 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.
More Bjarne Stroustrup Quotes
-
-
It is easy to study the rules of overloading and of templates without noticing that together they are one of the keys to elegant and efficient type-safe containers.
BJARNE STROUSTRUP -
When done well, software is invisible.
BJARNE STROUSTRUP -
Nobody should call themselves a professional if they only knew one language.
BJARNE STROUSTRUP -
If you think it’s simple, then you have misunderstood the problem.
BJARNE STROUSTRUP -
I like doing research that has an impact. If I went to a company to make what they call ‘real money,’ I’d be just trying to make a system work as fast as possible to meet the product and serice deadlines.
BJARNE STROUSTRUP -
There is no one “root of all evil” in software development. Design is hard in many ways.
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 -
Always think about how a piece of code should be used: good interfaces are the essence of good code.
BJARNE STROUSTRUP -
First, I’d like to see the basic tools such as compilers, debuggers, profilers, database interfaces, GUI builders, CAD tools, and so forth fully support the ISO standard.
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 -
[Corporate programming] is often done to the point where the individual is completely submerged in corporate “culture” with no outlet for unique talents and skills.
BJARNE STROUSTRUP -
There are more useful systems developed in languages deemed awful than in languages praised for being beautiful – many more.
BJARNE STROUSTRUP -
You can hide all kinds of clever and dirty code behind a good interface if you really need such code.
BJARNE STROUSTRUP -
“Legacy code” often differs from its suggested alternative by actually working and scaling.
BJARNE STROUSTRUP -
The standard library saves programmers from having to reinvent the wheel.
BJARNE STROUSTRUP -
I find languages that support just one programming paradigm constraining
BJARNE STROUSTRUP -
However, when Java is promoted as the sole programming language, its flaws and limitations become serious.
BJARNE STROUSTRUP -
With the increasing importance of standards for system-level objects such as COM and CORBA, it is particularly important that the C++ bindings to those be clean, well documented, and simple to use.
BJARNE STROUSTRUP -
Any verbose and tedious solution is error-prone because programmers get bored.
BJARNE STROUSTRUP -
Proof by analogy is fraud.
BJARNE STROUSTRUP -
There’s an old story about the person who wished his computer were as easy to use as his telephone. That wish has come true, since I no longer know how to use my telephone.
BJARNE STROUSTRUP -
For this reason restricting language features with the intent of eliminating programmer errors is at best dangerous.
BJARNE STROUSTRUP -
I assume that a sufficiently skilled will be able to do anything not explicitly forbidden by the hardware.
BJARNE STROUSTRUP -
An organisation that treats its programmers as morons will soon have programmers that are willing and able to act like morons only.
BJARNE STROUSTRUP -
Anybody who comes to you and says he has a perfect language is either naive or a salesman.
BJARNE STROUSTRUP