Refactor Like a Superhero Book cover
It is a book about how to refactor code efficiently and without pain. In it, we'll discuss the benefits of refactoring for development and business, explore how to search for problems in your code, and investigate possible solutions for those problems.
We will use code examples primarily in JavaScript and sometimes in TypeScript. However, the techniques we're going to discuss can be used in other high-level languages as well. So if you don't code in JS/TS but feel comfortable around them, you might find something that you can adopt to your language too.
If you like the book, give it a ⭐️ on GitHub and share the link with other developers who might want to read it!
Manuscript
The book is available in 2 languages:
Currently WIP translations:
If you are interested in translating it into other languages, please, contact me. I'll be happy to discuss details!
Ebook and Web Version
You can also read the book online or download it as a PDF or Epub:
Errata and Feedback
If you found a typo or an error, please, open an issue or a pull request in this repository. I'll also be glad to hear your ideas and code snippets that can make the examples in the book more descriptive.
You can find all previous fixes and updates in the commit history of this repository.
License & Copyright
All materials are © 2022 Alex Bespoyasov. The work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.