Refactoring JavaScript turning bad code into good code

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...

Descripción completa

Detalles Bibliográficos
Otros Autores: Burchard, Evan, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Beijing, [China] : O'Reilly 2017.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630309906719
Tabla de Contenidos:
  • 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.