Last Updated: February 25, 2016
·
609
· ericraio

Learn To Write Clean Code

Here are some tips I have learned for writing clean code.

  • Choose descriptive names
  • Functions should only do one thing
  • Classes should only be about one thing
  • Refactor, Refactor, Refactor
  • Your code should be able to adapt to change, always.
  • Always and I mean ALWAYS test your code

Check out my full article here.
http://ericscript.com/learn-to-write-clean-code/