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/
Written by Eric Raio
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Programming
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#