Tag archive for “Clean Code”
“The reason I prefer simple solutions is not my desire for elegance or simplicity but my inability to comprehend complexity.”
“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.”
“The Art of Programming is doing one !@%^$ thing at a time.”
“Refactoring is the act of improving code that has already been improved.”
“Test-driven development is a way of managing fear during programming.”
“Even perfect program verification can only establish that a program meets its specification…. Much of the essence of building a program is in fact the debugging of the specification.”
“Understandability is next to godliness.”
“For years, software development was an entire subdivision of badly painted houses.”
“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.”
“Even so the program works. Is this not just an aesthetic judgment, a dislike of ugly code? It is until we want to change the system. The compiler doesn’t care whether the code is ugly or clean. But when we change the system, there is a human involved, and humans do care. A poorly designed system is hard to change. Hard because it is hard to figure out where the changes are needed. If it is hard to figure out what to change, there is a strong chance that the programmer will make a mistake and introduce bugs.”