Refactoring JavaScript (Paperback)
Language: English
Published by O'Reilly Media, Sebastopol, 2017
- Softcover
- New

Seller: Grand Eagle Retail, Bensenville, IL, U.S.A.Grand Eagle Retail
AbeBooks seller since October 12, 2005
Condition: New
US$ 65.14
Quantity: 1 available
Add to basketItem description from seller
Paperback. 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: Recognize you have a problem with your JavaScript quality. Forgive the code 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. No matter what framework or "compiles-to-js" language or library used, bugs and performance concerns will be an issue if the underlying quality of your JavaScript is poor. This book provides clear guidance on how best to avoid these pathological approaches to writing JavaScript. Bad code doesn't have to stay that way. Shipping may be from multiple locations in the US or from the UK, depending on stock availability.…
Seller Inventory # 9781491964927
- Title
- Refactoring JavaScript (Paperback)
- Author
- Evan Burchard
- Publisher
- O'Reilly Media, Sebastopol
- Publication year
- 2017
- Condition
- new
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1491964928
- ISBN 13
- 9781491964927
If your JavaScript is a mess, frameworks can only do so much to help. No matter what framework, "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. With this hands-on guide, you’ll learn how test and refactor your existing code to help reduce complexity, improve readability, and gain confidence in the codebase.
Author Evan Burchard shows you how to identify areas of bad code, and then takes you through several refactoring methods for improving them. Techniques range from renaming variables to applying principles of functional and object-oriented programming. If you’re motivated to write better JavaScript code either on the frontend or backend, this book is a must.
- Use refactoring to restructure existing code, without changing its behavior
- Learn the relationship between refactoring and quality
- Explore the many versions of JavaScript in use today
- Create automated tests to confirm that your code works, and find bugs that slip through
- Learn how to refactor simple JavaScript structures, functions, and objects
- Refactor your codebase by applying object-oriented and functional programming principles
- Examine methods for refactoring asynchronous JavaScript
"Synopsis" may belong to another edition of this title.
About the Author
Evan Burchard is a Web Development Consultant and the author of The Web Game Developer’s Cookbook. Offline, he has designed an award-winning kinetic game involving stacking real ice cubes, and periodically picks up his project to walk across the U.S.
"About the title" may belong to another edition of this title.
Grand Eagle Retail
Bensenville, IL, U.S.A.
AbeBooks seller since October 12, 2005
Shipping rates within U.S.A.
| Item | 6 to 14 business days | 6 to 16 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 0.00 |
Payment methods
Seller's business information
APOLLO ONLINE CORP.
605 Geddes Street
Wilmington, DE U.S.A. 19805
Terms of sale
We guarantee the condition of every book as it¿s described on the Abebooks web sites. If you¿ve changed
your mind about a book that you¿ve ordered, please use the Ask bookseller a question link to contact us
and we¿ll respond within 2 business days.
Books ship from California and Michigan.
Shipping terms
Orders usually ship within 2 business days. All books within the US ship free of charge. Delivery is 4-14 business days anywhere in the United States.
Books ship from California and Michigan.
If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.