Refactoring TypeScript
eBook - ePub

Refactoring TypeScript

Keeping your code healthy

James Hickey

Compartir libro
  1. 120 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Refactoring TypeScript

Keeping your code healthy

James Hickey

Detalles del libro
Índice
Citas

Información del libro

Discover various techniques to develop maintainable code and keep it in shape.Key Features• Learn all about refactoring - why it is important and how to do it• Discover easy ways to refactor code with examples• Explore techniques that can be applied to most other programming languagesBook DescriptionRefactoring improves your code without changing its behavior. With refactoring, the best approach is to apply small targeted changes to a codebase. Instead of doing a huge sweeping change to your code, refactoring is better as a long-term and continuous enterprise. Refactoring TypeScript explains how to spot bugs and remove them from your code.You'll start by seeing how wordy conditionals, methods, and null checks make code unhealthy and unstable. Whether it is identifying messy nested conditionals or removing unnecessary methods, this book will show various techniques to avoid these pitfalls and write code that is easier to understand, maintain, and test.By the end of the book, you'll have learned some of the main causes of unhealthy code, tips to identify them and techniques to address them.What you will learn• Spot and fix common code smells to create code that is easier to read and understand• Discover ways to identify long methods and refactor them• Create objects that keep your code flexible, maintainable, and testable• Apply the Single Responsibility Principle to develop less-coupled code• Discover how to combine different refactoring techniques• Learn ways to solve the issues caused by overusing primitivesWho this book is forThis book is designed for programmers who are looking to explore various refactoring techniques to develop healthy and maintainable code. Some experience in JavaScript and TypeScript can help you easily grasp the concepts explained in this book.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Refactoring TypeScript un PDF/ePUB en línea?
Sí, puedes acceder a Refactoring TypeScript de James Hickey en formato PDF o ePUB, así como a otros libros populares de Ciencia de la computación y Lenguajes de programación. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2019
ISBN
9781839218415

Índice