More on this book
Community
Kindle Notes & Highlights
You should name a variable using the same care with which you name a first-born child.
We abandon our code early, not because it is done, but because our value system focuses more on outward appearance than on the substance of what we deliver.
Quality is the result of a million selfless acts of care—not just of any great method that descends from the heavens.
That these acts are simple doesn’t mean that they are simplistic, and it hardly means that they are easy. They are nonetheless the fabric of greatness and, more so, of beauty, in any human endeavor. To ignore them is not yet to be fully human.
Neither architecture nor clean code insist on perfection, only on honesty and doing the best we can.
There are two parts to learning craftsmanship: knowledge and work. You must gain the knowledge of principles, patterns, practices, and heuristics that a craftsman knows, and you must also grind that knowledge into your fingers, eyes, and gut by working hard and practicing.
I can teach you the physics of riding a bicycle. Indeed, the classical mathematics is relatively straightforward. Gravity, friction, angular momentum, center of mass, and so forth, can be demonstrated with less than a page full of equations. Given those formulae I could prove to you that bicycle riding is practical and give you all the knowledge you needed to make it work. And you’d still fall down the first time you climbed on that bike.
Clean code always looks like it was written by someone who cares.
Comments Do Not Make Up for Bad Code
the only truly good comment is the comment you found a way not to write.