7. Code tidy

By its nature, programming code can get untidy. It is edited out of order, elements are added in and removed, etc.

Untidy code, however, is hard to read. Proper use of indents and spacing really help make code readable and most IDE's have a tool to help do this.

To clean up untidy code:

  • Right click on the editor.
  • Choose Format Document.