• Stars
    star
    945
  • Rank 48,368 (Top 1.0 %)
  • Language
  • License
    Other
  • Created over 2 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

How to refactor code efficiently and without pain.

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.

CC BY-NC-ND 4.0

More Repositories

1

frontend-clean-architecture

React + TypeScript app built using the clean architecture principles in a more functional way.
TypeScript
2,276
star
2

solidbook

Book about the SOLID principles and object-oriented software design.
MDX
599
star
3

tools

Список полезных сервисов для разработчиков.
131
star
4

front-not-pain

How to work with ease and joy. Uplifting guide for frontend developers.
HTML
118
star
5

scroller

Fast, light-weight (4KB gzip), and dependency-free content scroller.
JavaScript
117
star
6

explicit-design

Source code for the “Explicit Design” post series.
TypeScript
91
star
7

www

Source code for my blog.
Svelte
81
star
8

treees

Trees images generator based on L-Systems made with TypeScript using OOP principles.
TypeScript
52
star
9

ttt-tdd

Book about test-driven development with an example of making “Tic-Tac-Toe” by TDD.
HTML
31
star
10

refactor-like-a-superhero-talk

Source code and examples for “Refactor Like a Superhero” talk.
JavaScript
29
star
11

text-generator

A naive text generator built in JavaScript using Markov chains.
JavaScript
26
star
12

testing-workshop

Source code samples for the workshop about testing React applications.
JavaScript
23
star
13

you-really-dont-need-redux-now

Redux vs Context API + Hooks comparison article.
JavaScript
20
star
14

react-scroller

React component wrapper for Scroller.
JavaScript
20
star
15

di-ts-in-practice

A sample app for a post about dependency injection with TypeScript.
TypeScript
18
star
16

rule-based-data-validation

Declarative data validation made with rule-based approach and functional programming.
TypeScript
17
star
17

fsm-example

Finite state machine example written in vanilla Javascript.
JavaScript
15
star
18

tmstmp

Converts timestamps to dates and backwards.
TypeScript
13
star
19

vue-scroller

Vue component wrapper for Scroller.
Vue
7
star
20

web-worker-example

Using Web Workers to Boost Performance.
CSS
7
star
21

binary-full-adder-in-the-game-of-life

Binary adder implementation in the Game of Life written in JavaScript using canvas.
JavaScript
6
star
22

bespoyasov

Hello · Hallå · Привет!
5
star
23

utils

Javascript helper-functions
JavaScript
5
star
24

kursovik-redux-electron

App showing $/₽ exchange
JavaScript
3
star
25

traktor-html-css-workshop

Source code samples for the HTML & CSS workshop at Traktor School.
HTML
2
star
26

clickme

“Click me!“ implementation made with RxJS.
TypeScript
2
star
27

react-piano-next

A virtual piano keyboard built with React and deployed with Vercel (former Next).
TypeScript
2
star
28

next-app-deployment

The example Next app, that we're going to deploy on Vercel, Heroku and a custom static server.
TypeScript
2
star
29

shitty-advices

HTML
1
star
30

kursovik-rn-expo

Rebuilt the Kursovik app using React Native and Expo because why not.
JavaScript
1
star
31

loose-equals

JavaScript explicit non-strict equality comparator.
JavaScript
1
star
32

wesbos-advanced-react-rerecorded

Let's relearn this stuff.
JavaScript
1
star
33

wesbos-node-course

Node course
JavaScript
1
star
34

bookmark

Crossbrowser aside anchor-navigation
JavaScript
1
star
35

unv-proj

University graduation project
Python
1
star
36

teaching-as-a-negotiation-skill

Слайды к докладу
HTML
1
star
37

figma-tags-finder

A missing tags manager for Figma
TypeScript
1
star
38

morse

Text to Morse code translator.
JavaScript
1
star