Refactoring JavaScript : turning bad code into good code / Evan Burchard.
| Author/creator | Burchard, Evan, 1984- author. |
| Format | Book |
| Edition | First edition. |
| Publication Info | Boston : O'Reilly Media, 2017. |
| Description | xxiii, 414 pages : illustrations ; 24 cm |
| Subjects |
| Contents | What is refactoring? -- Which JavaScript are you using? -- Testing -- Testing in action -- Basic refactoring goals -- Refactoring simple structures -- Refactoring functions and objects -- Refactoring within a hierarchy -- Refactoring to OOP patterns -- Asynchronous refactoring -- Functional refactoring -- Conclusion. |
| Abstract | 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 to test and refactor your existing code to help reduce complexity, improve readability, and gain confidence in the codebase. |
| Bibliography note | Includes bibliographical references and index. |
| LCCN | 2017302081 |
| ISBN | 9781491964927 (pbk) |
| ISBN | 1491964928 (pbk) |
| Stock number | 8B2572EC-7B3A-477E-B6A7-945FB1912E73 OverDrive, Inc. http://www.overdrive.com |