Loading, please wait...

product description page

Refactoring JavaScript : Turning Bad Code into Good Code (Paperback) (Evan Burchard)

Refactoring JavaScript : Turning Bad Code into Good Code (Paperback) (Evan Burchard) - image 1 of 1

About this item

How often do you hear people say things like this?“Our JavaScript is a mess, but we’re thinking about using [framework of the month].“

Like it or not, JavaScript is not going away. No matter what framework 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 framework 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 writing JavaScript:

  1. Recognize you have a problem with your JavaScript quality.
  2. Forgive the code you have now, and the developers who made it.
  3. Learn repeatable, memorable, and time-saving refactoring techniques.
  4. Apply these techniques as you work, fixing things along the way.
  5. 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.

Number of Pages: 414
Genre: Computers + Internet
Format: Paperback
Publisher: Oreilly & Associates Inc
Author: Evan Burchard
Language: English
Street Date: April 3, 2017
TCIN: 51568861
UPC: 9781491964927
Item Number (DPCI): 248-25-6090
If the item details above aren’t accurate or complete, we want to know about it. Report incorrect product info.
MSRPReg: $49.99 Save $2.50 (5% off)
In stock - free standard shipping with REDcard
Not in stores

Ratings & reviews

Prices, promotions, styles and availability may vary by store & online. See our price match guarantee. See how a store is chosen for you.

*See offer details. Restrictions apply. Pricing, promotions and availability may vary by location and at Target.com.