• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Optimizing JavaScript for Ex... > Refactor to Simplify Code

Refactor to Simplify Code

Refactoring is the art of reworking your code to a more simplified or efficient form in a disciplined way. Refactoring is an iterative process:

1.
Write correct, well-commented code that works.

2.
Get it debugged.

3.
Streamline and refine by refactoring the code to replace complex sections with shorter, more efficient code.

4.
Mix well, and repeat.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint