Bjarne Stroustrup Quotes

We've searched our database for all the quotes and captions related to Bjarne Stroustrup. Here they are! All 32 of them:

There are only two kinds of languages: the ones people complain about and the ones nobody uses.
Bjarne Stroustrup (The C++ Programming Language)
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
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
It's easy to win forgiveness for being wrong; being right is what gets you into real trouble.
Bjarne Stroustrup
Proof by analogy is fraud.
Bjarne Stroustrup (The C++ Programming Language)
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
Design and programming are human activities; forget that and all is lost. —Bjarne Stroustrup, 1991
Robert C. Martin (Agile Principles, Patterns, and Practices in C# (Robert C. Martin Series))
You must run before you can walk!
Bjarne Stroustrup (Programming: Principles and Practice Using C++)
I like my code to be elegant and efficient. The logic should be straightforward to make it hard for bugs to hide, the dependencies minimal to ease maintenance, error handling complete according to an articulated strategy, and performance close to optimal so as not to tempt people to make the code messy with unprincipled optimizations. Clean code does one thing well. -Bjarne Stroustrup, inventor of C++ and author of The C++ Programming Language
Robert C. Martin (Clean Code: A Handbook of Agile Software Craftsmanship)
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)
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++)
Always be suspicious or "of course": "of course" is not a reason.
Bjarne Stroustrup (Programming: Principles and Practice Using C++)
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)
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 (C++ In-Depth Series))
The fact that 'goto' can do anything is exactly why we don't use it.
Bjarne Stroustrup
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
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 (C++ In-Depth))
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++)
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)
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 (C++ In-Depth))
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)
Almost every macro demonstrates a flaw in the programming language, in the program, or the programmer.” —Bjarne Stroustrup
Peter Gottschling (Discovering Modern C++: An Intensive Course for Scientists, Engineers, and Programmers (C++ In-Depth))
There are only two kinds of languages: the ones people complain about and the ones nobody uses." —Bjarne Stroustrup
Cory Althoff (The Self-Taught Programmer: The Definitive Guide to Programming Professionally)
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)
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 (C++ In-Depth Series))
Exitem apenas dois tipos de linguagens: Aquelas que as pessoas reclamam de usar, e aquelas que as pessoas não usam.
Bjarne Stroustrup