Refactoring JavaScript: Turning Bad Code Into Good Code

Refactoring JavaScript: Turning Bad Code Into Good Code Front Cover
0 Reviews
2017-01-25
300 pages

Book Description

Like it or not, is not going away. No matter what or ”compiles-to-js” language or library you use, bugs and performance concerns will always be an issue if the underlying quality of your JavaScript is poor. Rewrites, including porting to the of the month are terribly expensive and unpredictable. The bugs won’t magically go away, and can happily reproduce themselves in a new context. To complicate things further, features will get dropped, at least temporarily.

The other popular method of fixing your JS is playing “JavaScript Jenga,” where each developer slowly and carefully takes their best guess at how the out-of-control system can be altered to allow for new features, hoping that this doesn’t bring the whole stack of blocks down. This book provides clear guidance on how best to avoid these pathological approaches to JavaScript:

Recognize you have a problem with your JavaScript quality.
Forgive the you have now, and the developers who made it.
Learn repeatable, memorable, and time-saving refactoring techniques.
Apply these techniques as you work, fixing things along the way.
Internalize these techniques, and avoid writing as much problematic code to begin with.
Bad code doesn’t have to stay that way. And making it better doesn’t have to be intimidating or unreasonably expensive.

Table of Contents

Chapter 1. What is Refactoring?
Chapter 2. Which JavaScript Are You Using?
Chapter 3. Testing
Chapter 4. Testing in action
Chapter 5. Basic Refactoring Goals
Chapter 6. Refactoring Simple Structures
Chapter 7. Refactoring and Objects
Chapter 8. Refactoring Within a Hierarchy
Chapter 9. Refactoring to OOP
Chapter 10. Asynchronous Refactoring
Chapter 11. Functional Refactoring
Chapter 12. Conclusion

Book Details

  • Title: Refactoring JavaScript: Turning Bad Code Into Good Code
  • Author:
  • Length: 300 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2017-01-25
  • ISBN-10: 1491964928
  • ISBN-13: 9781491964927
File HostFree Download LinkFormatSize (MB)Upload Date
ZippyShare Click to downloadAZW31.203/15/2017
How to Download? Report Dead Links & Get a Copy

Leave a Reply