Transcript Document
The sharing of ideas allows us to stand on one another’s shoulders instead of on one another’s feet Jim Warren There are only two kinds of programming languages: those people always bitch about and those nobody uses Bjarne Stroustrup Rules of Optimization Rule 1: Don’t do it. Rule 2 (for experts only): Don’t do it yet. M.A. Jackson If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor and when was the last time you needed one? Tom Cargill Only optimize where it matters Mike Abrash If your project doesn’t work, look for the part that you didn’t think was important Arthur Bloch When your hammer is C++, everything begins to look like a thumb Steve Halflich Any performance problem can be solved by removing a level of indirection Mike Haertel The best is the enemy of the good Voltaire Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live Martin Golding Premature optimization is the root of all evil C.A.R. Hoare On the other hand, we cannot ignore efficiency Jon Bentley C++ is an atrocity, the bletcherous scab of the computing world, responsible for ... more mysterious failures than any other computer language in the history of the planet earth Eric Lee Green Efficiency must be kept in mind throughout the design and implementation effort Bjarne Stroustrup The key to performance is elegance, not battalions of special cases Jon Bentley If C++ has taught me one thing, it’s this: just because the system is consistent doesn’t mean it’s not the work of Satan Andrew Plotkin Simplicity is the soul of efficiency Austin Freeman There are only two things wrong with C++: the initial concept and the implementation Bertrand Meyer Never put off until runtime what can be done at compile time A. Glew The speed of a non-working program is irrelevant Stephen Heller Code should run as fast as necessary, but no faster; something important is always traded away to increase speed Richard Pattis Fancy algorithms are slow when N is small, and N is usually small Rob Pike Of course the code works. It just compiled, didn’t it? helixcode123, on slashdot When in doubt, use brute force Butler Lampson I saw ‘cout’ being shifted “Hello world” times to the left and stopped right there Steve Gonedes