Top 35 Brian Kernighan Quotes
#1. If you had done something twice, you are likely to do it again.
Brian Kernighan
#2. The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
Brian Kernighan
#3. Each new user of a new system uncovers a new class of bugs.
Brian Kernighan
#4. Some compilers allow a check during execution that subscripts do not exceed array dimensions. This is a help, but not sufficient. First, many programmers do not use such compilers because They're not efficient. (Presumably, this means that it is vital to get the wrong answers quickly.)
Brian Kernighan
#5. Every language teaches you something, so learning a language is never wasted, especially if it's different in more than just syntactic trivia.
Brian Kernighan
#6. An effective way to test code is to exercise it at its natural boundaries
Brian Kernighan
#7. Trying to outsmart a compiler defeats much of the purpose of using one.
Brian Kernighan
#8. I had spent the summer of 1966 working at MIT in the group that was the MIT component of the Multics effort.
Brian Kernighan
#9. No matter how non-technical your life and work, you're going to have to interact with technology and technical people. If you know something about how devices and systems operate, it's a big advantage.
Brian Kernighan
#10. If you don't understand viruses, phishing, and similar threats, you become more susceptible to them. If you don't know how social networks leak information that you thought was private, you're likely to reveal much more than you realize.
Brian Kernighan
#11. Mechanical rules are never a substitute for clarity of thought.
Brian Kernighan
#12. Bell Labs was an astonishing place for many decades, though it fell on somewhat hard times during the telecom meltdown some years ago, as its corporate owner had to cope with shrinking markets.
Brian Kernighan
#13. Even though most people won't be directly involved with programming, everyone is affected by computers, so an educated person should have a good understanding of how computer hardware, software, and networks operate.
Brian Kernighan
#14. It's important to be informed about issues like usability, reliability, security, privacy, and some of the inherent limitations of computers.
Brian Kernighan
#15. I seem to get totally wrapped up in teaching and working with students during the school year. During the summer, I try to spend time in the real world, writing code for therapy and perhaps for some useful purpose.
Brian Kernighan
#16. Anytime you want to hear about graph partitioning, I will be glad to tell you what I know about graph partitioning. It remains a standard problem. I think it's an interesting problem, because it shows up in a variety of guises in real life.
Brian Kernighan
#17. I want students to understand specific technologies, but the real goal is that they should be able to reason about how systems work and be intelligently skeptical about technology so that, when they're running the world in a few years, they'll do a good job.
Brian Kernighan
#18. As we said in the preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way.
Brian Kernighan
#19. For better or worse, the people who become leaders and decision makers in politics, law and business are going to come from schools like Princeton.
Brian Kernighan
#20. No matter what, the way to learn to program is to write code and rewrite it and see it used and rewrite again. Reading other people's code is invaluable as well.
Brian Kernighan
#21. Unix has, I think for many years, had a reputation as being difficult to learn and incomplete. Difficult to learn means that the set of shared conventions, and things that are assumed about the way it works, and the basic mechanisms, are just different from what they are in other systems.
Brian Kernighan
#22. Trivia rarely affect efficiency. Are all the machinations worth it, when their primary effect is to make the code less readable?
Brian Kernighan
#23. Do what you think is interesting, do something that you think is fun and worthwhile, because otherwise you won't do it well anyway.
Brian Kernighan
#24. Controlling complexity is the essence of computer programming.
Brian Kernighan
#26. If you're as clever as you can be when you write it, how will you ever debug it?
Brian Kernighan
#27. Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with
Brian Kernighan
#28. Programming language is very specific to instructing a computer to do a particular structure of a sequence. It's the very way you tell the machine what you want it to do.
Brian Kernighan
#29. 90% of the functionality delivered now is better than 100% delivered never.
Brian Kernighan
#30. Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Brian Kernighan
#33. It is a fundamental principle of testing that you must know in advance the answer each test case is supposed to produce. If you don't, you are not testing; you are experimenting.
Brian Kernighan
#34. C is a razor-sharp tool, with which one can create an elegant and efficient program or a bloody mess.
Brian Kernighan
#35. Technology is mostly a force for good, but it has its downsides, too. I want my students - and my readers - to be intelligently skeptical about technology and be informed about the good and the not-so-good parts.
Brian Kernighan
Famous Authors
Popular Topics
Scroll to Top