A Handbook of Agile Software Craftsmanship

Clean Code

Robert C. Martin

En Eski Clean Code Sözleri ve Alıntıları

En Eski Clean Code sözleri ve alıntılarını, en eski Clean Code kitap alıntılarını, etkileyici sözleri 1000Kitap'ta bulabilirsiniz.
You cannot write code if you cannot read the surrounding code. The code you are trying to write today will be hard or easy to write depending on how hard or easy the surrounding code is to read. So if you want to go fast, if you want to get done quickly, if you want your code to be easy to write, make it easy to read.
Writing software is like any other kind of writing. When you write a paper or an article, you get your thoughts down first, then you massage it until it reads well. The first draft might be clumsy and disorganized, so you wordsmith it and restructure it and refine it until it reads the way you want it to read.
Reklam
Every system is built from a domain-specific language designed by the programmers to describe that system. Functions are the verbs of that language, and classes are the nouns. This is not some throwback to the hideous old notion that the nouns and verbs in a requirements document are the first guess of the classes and functions of a system. Rather, this is a much older truth. The art of programming is, and has always been, the art of language design.
The name of a class should describe what responsibilities it fulfills. In fact, naming is probably the first way of helping determine class size. If we cannot derive a concise name for a class, then it’s likely too large. The more ambiguous the class name, the more likely it has too many responsibilities. For example, class names including weasel words like Processor or Manager or Super often hint at unfortunate aggregation of responsibilities.
"Honesty in small things is not a small thing."
"To err is human; to forgive, divine."
Reklam
14 öğeden 1 ile 10 arasındakiler gösteriliyor.