quotes tagged clean-code

  • “Premature optimization is the root of all evil in programming.”

    C. A. R. Hoare

  • “Remember that your code is for a human first and a computer second. Humans need good names. Take note of when you have spent ages trying to do something that would have been easier if a couple of methods had been better named. Good naming is a skill that requires practice; improving this skill is the key to being a truly skillful programmer.”

    Martin Fowler, Refactoring

  • “Programs must be written for people to read, and only incidentally for machines to execute.”

    Harold Abelson, Structure and Interpretation of Computer Programs

  • “Whenever I have to think to understand what the code is doing, I ask myself if I can refactor the code to make that understanding more immediately apparent.”

    Martin Fowler

  • “A brute force solution that works is better than an elegant solution that doesn't work.”

    Steve McConnell

  • “Indeed, the ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code. ...[Therefore,] making it easy to read makes it easier to write.”

    Robert C. Martin, Clean Code

  • “Making code readable is not an optional part of the development process, and favoring write-time convenience over read-time convenience is a false economy.”

    Steve McConnell, Code Complete

  • “When people say that pair programming reduces productivity, I answer that would be true if the most time consuming part of programming was typing.”

    Martin Fowler

  • “Before software can be reusable it first has to be usable.”

    Ralph Johnson

  • “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”

    Martin Fowler