Refactoring TypeScript
eBook - ePub

Refactoring TypeScript

Keeping your code healthy

James Hickey

Share book
  1. 120 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Refactoring TypeScript

Keeping your code healthy

James Hickey

Book details
Table of contents
Citations

About This Book

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Refactoring TypeScript an online PDF/ePUB?
Yes, you can access Refactoring TypeScript by James Hickey in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Lenguajes de programación. We have over one million books available in our catalogue for you to explore.

Information

Year
2019
ISBN
9781839218415

Table of contents