You can hide all kinds of clever and dirty code behind a good interface if you really need such code.
BJARNE STROUSTRUPAlways think about how a piece of code should be used: good interfaces are the essence of good code.
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 -
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 -
I would encourage nonproprietary standards for tools and libraries.
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 -
Some software is actually pretty good, by any standard. Think of the Mars Rovers, Google, and the Human Genome Project. Now, that’s quality software!
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 -
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 -
Java isn’t platform independent; it is a platform
BJARNE STROUSTRUP -
Certainly not every good program is object-oriented, and not every object-oriented program is good.
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 -
I assume that a sufficiently skilled will be able to do anything not explicitly forbidden by the hardware.
BJARNE STROUSTRUP -
This evolution may compromise Java’s claim of being simpler than C++, but my guess is that the effort will make Java a better language than it is today.
BJARNE STROUSTRUP -
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 STROUSTRUP -
Personally, I look forward to better tools for analyzing C++ source code.
BJARNE STROUSTRUP -
Proof by analogy is fraud.
BJARNE STROUSTRUP