Definition of 'clean code'

crauscher picture crauscher · Jun 5, 2009 · Viewed 9.1k times · Source

Robert C. Martin offers in the fist chapter of his book 'Clean Code' several definitions of 'clean code' from differen well known software experts. How do you define clean code?

Answer

Ree picture Ree · Jun 5, 2009
  • Easy to understand.
  • Easy to modify.
  • Easy to test.
  • Works correctly (Kent Beck's suggestion - very right).

These are the things that are important to me.