Bjarne Stroustrup

Computer Science Danish 1950 360 quotes

Creator of the C++ programming language.

Most quoted

"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies."

— from Often attributed, widely circulated

"The problem with C is that it's too easy to shoot yourself in the foot. The problem with C++ is that it gives you a loaded gun, and then tells you to go ahead and shoot yourself in the foot, but with style."

— from Humorous anecdote (often attributed, not a private letter)

"C++ is a general-purpose programming language with a bias towards systems programming that supports efficient low-level computation, data abstraction, object-oriented programming, and generic programming."

— from The C++ Programming Language (2nd Edition), 1991

All quotes by Bjarne Stroustrup (360)

The only thing worse than a bad program is a good program that nobody uses.

Various interviews and talks

If you want to build a ship, don't drum up people to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea.

Often attributed, widely circulated

The only way to get rid of a temptation is to yield to it.

Often attributed, widely circulated

C++ is a language for serious programmers. If you're not serious, you shouldn't be using it.

Various interviews and talks

The most important property of a program is whether it accomplishes the intention of its user.

Various interviews and talks

I'm not a fan of 'magic' in programming. I prefer to know how things work.

Various interviews and talks

The only way to write good code is to write a lot of bad code first.

Various interviews and talks

C++ is like a chainsaw. It's powerful, but if you don't know how to use it, you can hurt yourself.

Often attributed, widely circulated

The purpose of a programming language is to help programmers solve problems.

Various interviews and talks

I don't believe in silver bullets. I believe in hard work and good tools.

Various interviews and talks

C++ is not just a language; it's a way of thinking.

Various interviews and talks

The only way to make progress is to admit that you don't know everything.

Various interviews and talks

I'm not interested in making C++ easy. I'm interested in making it powerful.

Various interviews and talks

C++ is a language that rewards careful thought and planning.

Various interviews and talks

The only way to write good software is to write it for yourself first.

Various interviews and talks

I don't believe in 'best practices.' I believe in 'effective practices.'

Various interviews and talks

The best way to learn is by doing.

Various interviews and talks

C++ is a language that allows you to express your ideas directly, without getting in your way.

Various interviews and talks

The only way to make a program faster is to make it do less.

Various interviews and talks

I'm not a fan of 'design patterns.' I'm a fan of good design.

Various interviews and talks