Clean Code Core
Goals
- •Readability
- •Maintainability
- •Predictability
- •Confidence
Rules
- •English semantic naming, no abbreviations.
- •Booleans: is/has/can/should/does.
- •Cause over effect naming.
- •No magic numbers (named constants).
- •Prefer guard clauses and flat control flow.
- •Comments explain WHY, not WHAT.
- •Short iterations: implement -> test -> refactor -> review.