Top 9 Qualities of Clean Code

  • Bad code does too much – Clean code is focused
  • The language you wrote your code with should look like it was made for the problem
  • It should not be redundant
  • Reading your code should be pleasant
  • Can be easily extended by any other developer
  • It should have minimal dependencies
  • Smaller is better
  • It should have unit and acceptance tests
  • It should be expressive