Quotes that made me a better programmer.
December 15, 2019
These are some quotes I have in my notes for the past couple of years and I believe considering these things made my code quality and planning better.
Coding
-
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
― Refactoring: Improving the Design of Existing Code, 1999 -
You should name a variable using the same care with which you name a first-born child.
― Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship -
A long descriptive name is better than a short enigmatic name. A long descriptive name is better than a long descriptive comment.
― Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship -
Don’t comment bad code—rewrite it.
― Brian W. Kernighan, The Elements of Programming Style -
Premature optimization is the root of all evil.
― Donald Ervin Knuth, The Art of Computer Programming, Volume 1: Fundamental Algorithms -
Functions should do one thing. They should do it well. They should do it only.
― Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship
Planning
- If you can’t explain it to a six-year-old, you don’t understand it yourself.
― Albert Einstein (I’m not 100% sure) - The bearing of a child takes nine months, no matter how many women are assigned.
― Fred Brooks