Skip to content

Clean Code

Code that is easy to read, understand, and modify. Not just "works", but "works and is understandable".

Characteristics

  • Clear variable and function names;
  • Small functions, each does one thing;
  • No duplication;
  • Code reads like text, not like a puzzle.

Principles

DRY — don't repeat yourself, KISS — keep it simple, SOLID — design principles.

See Also

← All terms