The C++ Programming Language Quotes

Rate this book
Clear rating
The C++ Programming Language The C++ Programming Language by Bjarne Stroustrup
3,971 ratings, 4.09 average rating, 104 reviews
The C++ Programming Language Quotes Showing 1-9 of 9
“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”
Bjarne Stroustrup, The C++ Programming Language
“Proof by analogy is fraud.”
Bjarne Stroustrup, The C++ Programming Language
“Programming is like sex: It may give some concrete results, but that is not why we do it.”
Bjarne Stroustrup, The C++ Programming Language
“C++ protects against accident, not against fraud.”
Bjarne Stroustrup, The C++ Programming Language
“Programming is like sex: It may give some concrete results, but that is not why we do it. – apologies to Richard Feynman”
Bjarne Stroustrup, The C++ Programming Language
“Choosing the right precision for a problem where the choice matters requires significant understanding of floating-point computation. If you don't have that understanding, get advice, take the time to learn, or use double and hope for the best.”
Bjarne Stroustrup, The C++ Programming Language
“An understanding of every language-technical detail of a language feature or library component is neither necessary nor sufficient for writing good programs. In fact, an obsession with understanding every little detail is a prescription for awful - overelaborate and overly clever code.”
Stroustrup Bjarne, The C++ Programming Language
“Probably, your first reaction is "but don't do that," and I agree. However, such code does get written, so it is worth knowing how it is implemented.”
Bjarne Stroustrup, The C Programming Language 3rd (Third) Edition byStroustrup
“Macro substitution is almost never necessary in C++. Use const (§7.5), constexpr (§2.2.3, §10.4), enum or enum class (§8.4) to define manifest constants, inline (§12.1.5) to avoid function-calling overhead, templates (§3.4, Chapter 23) to specify families of functions and types, and namespaces (§2.4.2, §14.3.1) to avoid name clashes.”
Bjarne Stroustrup, The C++ Programming Language