Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
-- John F. Woods, 1991-09-25
Any fool can write code that a computer can understand. Good programmers write code that humans understand.
-- Martin Fowler, "Refactoring: Improving the design of existing code"
The act of leaving a mess in the code should be as socially unacceptable as littering.
-- Robert C. “Uncle Bob” Martin
Leave the code in a better state than you found it.
(Originalet skrevs av Robert Stephenson Smyth Baden-Powell, pappa till scoutrörelsen, och löd "Try and leave this world a little better than you found it.”)
Comments are evil. The goal of comments is to compensate for our failure or to help express ourselves better. They are always sign of failure.
-- Robert C. “Uncle Bob” Martin, "Clean Code"
Code formatting is important because it is part of communication. It also makes the reader trust the code more.
-- Robert C. “Uncle Bob” Martin, "Clean Code"
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.
-- Donald Knuth, "Structured Programming With Go To Statements"
Secrets of Maintainable Codebases
Static Code Analysis and Quality Metrics