Clean Code is ultimately about maintainability, readability and productivity of your code. It should do exactly what you think it does and should be fairly simple to reason about. It should contain minimal, if not non-existent, code duplication, it should have tests that assert every single nook and cranny of your code (within reason but still aim to go as far as you can). Functions, variables, classes, tests, procedures, subroutines are accurately named. Clean code is precise. Clean code makes it clear that your code does one thing and one thing well. Clean code is well intentioned and appears to be written by someone who cares.

Tenets

Naming

Functions