,
Goodreads helps you follow your favorite authors. Be the first to learn about new releases!
Start by following Bjarne Stroustrup.

Bjarne Stroustrup Bjarne Stroustrup > Quotes

 

 (?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)
Showing 1-27 of 27
“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”
Bjarne Stroustrup, The C++ Programming Language
“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
“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.”
Bjarne Stroustrup
“Proof by analogy is fraud.”
Bjarne Stroustrup, The C++ Programming Language
“It's easy to win forgiveness for being wrong; being right is what gets you into real trouble.”
Bjarne Stroustrup
“If you think it's simple, then you have misunderstood the problem.”
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
“Design and programming are human activities; forget that and all is lost.”
Bjarne Stroustrup
“Programming is like sex: It may give some concrete results, but that is not why we do it.”
Bjarne Stroustrup, The C++ Programming Language
“The standard library saves programmers from having to reinvent the wheel.”
Bjarne Stroustrup
“Hollywood and similar “popular culture” sources of disinformation have assigned largely negative images to programmers. For example, we have all seen the solitary, fat, ugly nerd with no social skills who is obsessed with video games and breaking into other people’s computers. He (almost always a male) is as likely to want to destroy the world as he is to want to save it. Obviously, milder versions of such caricatures exist in real life, but in our experience they are no more frequent among software developers than they are among lawyers, police officers, car salesmen, journalists, artists, or politicians.”
Bjarne Stroustrup, Programming: Principles and Practice Using C++
“C++ protects against accident, not against fraud.”
Bjarne Stroustrup, 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
“assignment in addition to the copy constructor: Click here to view code image Vector& Vector::operator=(const Vector& a)       // copy assignment {     double* p = new double[a.sz];     for (int i=0; i!=a.sz; ++i)          p[i] = a.elem[i];     delete[] elem;        // delete old elements     elem = p;     sz = a.sz;     return *this; } The name this is predefined in a member function and points to the object for which the member function is called. 4.6.2. Moving Containers We can control copying by defining”
Bjarne Stroustrup, Tour of C++, A
“Do not proceed with a mess;
messes just grow with time.”
Bjarne Stroustrup, Programming: Principles and Practice Using C++
“People who think they know everything really annoy those of us who know we don't.”
Bjarne Stroustrup
“From one point of view, all that a program ever does is to compute; that is, it takes some inputs and produces some output.”
Bjarne Stroustrup, Programming: Principles and Practice Using C++
“You must run before you can walk!”
Bjarne Stroustrup, Programming: Principles and Practice Using C++
“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
“Always be suspicious or "of course": "of course" is not a reason.”
Bjarne Stroustrup, Programming: Principles and Practice Using C++
“The number of errors in code correlates strongly with the amount of code and the complexity of the code.”
Bjarne Stroustrup, Tour of C++, A
“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
“The fact that 'goto' can do anything is exactly why we don't use it.”
Bjarne Stroustrup
“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
“Exitem apenas dois tipos de linguagens: Aquelas que as pessoas reclamam de usar, e aquelas que as pessoas não usam.”
Bjarne Stroustrup
“C++ offers a small zoo of fundamental types, but since I’m not a zoologist, I will not list them all.”
Bjarne Stroustrup, Tour of C++, A
“The const specifiers on the functions returning the real and imaginary parts indicate that these functions do not modify the object for which they are called.”
Bjarne Stroustrup, Tour of C++, A

All Quotes | Add A Quote
A Tour of C++ (C++ In Depth SERIES) A Tour of C++
1,097 ratings
Programming: Principles and Practice Using C++ Programming
511 ratings
Design and Evolution of C++, The Design and Evolution of C++, The
329 ratings
Open Preview