Refactoring JavaScript : turning bad code into good code / Evan Burchard.
By: Burchard, Evan [author.].
Boston : O'Reilly Media, 2017Edition: First edition.Description: xxiii, 414 p. : ill. ; 24 cm.ISBN: 9781491964927 (pbk).Subject(s): JavaScript (Computer program language) | Software refactoring | JavaScript (Computer program language) | Software refactoringGenre/Form: Print books.Current location | Call number | Status | Date due | Barcode | Item holds |
---|---|---|---|---|---|
On Shelf | QA76.73.J39 B86 2017 (Browse shelf) | Available | AU00000000010550 |
Includes bibliographical references and index.
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.
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.