We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Clean Code

Paradigms like object-oriented programming and functional programming are all about making code easier to work with. After all, programmers are just feeble humans. Code that's easy for humans to understand is called "clean code".

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

-- Martin Fowler

Clean Code Does Not

  • Make your programs run faster
  • Make your programs function correctly
  • Only occur in object-oriented programming

Clean Code Does

  • Make code easier to work with
  • Make it easier to find and fix bugs
  • Make the development process faster
  • Help us retain our sanity