
Clean Code

it violates the Single Responsibility Principle7 (SRP) because there is more than one reason for it to change.
Robert C. Martin • Clean Code
Functions should hardly ever be 20 lines long.
Robert C. Martin • Clean Code
The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than that.
Robert C. Martin • Clean Code
People are also afraid of renaming things for fear that some other developers will object. We do not share that fear and find that we are actually grateful when names change (for the better).
Robert C. Martin • Clean Code
The name of a variable, function, or class, should answer all the big questions. It should tell you why it exists, what it does, and how it is used.