Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A list of 31 Javascript refactoring patterns, based on the '31 Days of Refactoring' book by Sean Chambers and Simone Chiaretta, with the applied solutions.
JavaScript
branch: master
Failed to load latest commit information.
01 Encapsullate Collection Organizing code.
02 Move Method Fix format code.
03 Pull Up Method Fix format code.
04 Push Down Method Fix format code.
05 Pull Up Field Fix format code.
06 Push Down Field Fix format code.
07 Rename (method, class, parameter) Fix format code.
08 Replace Inheritance with Delegation Fix format code.
09 Extract Interface Fix format code.
10 Extract Method Fix format code.
11 Switch to Strategy Fix format code.
12 Break Dependencies Fix format code.
13 Extract Method Object Fix format code.
14 Break Responsibilities Fix format code.
15 Remove Duplication Fix format code.
16 Encapsulate Conditional Fix format code.
17 Extract Superclass Fix format code.
18 Replace exception with conditional Add MicrowaveMotor file to make easier to understand 18 example
19 Extract Factory Class Fix format code.
20 Extract SubClass Fix format code.
21 Collapse Hierarchy Fix format code.
22 Break Method Fix format code.
23 Introduce Parameter Object Fix format code.
24 Remove Arrowhead Antipattern Fix format code.
25 Introduce Design By Contract checks Fix format code.
26 Remove Double Negative Fix format code.
27 Remove God Classes Fix format code.
28 Rename boolean method Fix format code.
29 Remove Middle Man Fix format code.
30 Return ASAP Fix format code.
31 Replace conditional with Polymorphism Fix format code.
Array_Sum.js Fix format code.
README.md Adding book link to download it the original version

README.md

Something went wrong with that request. Please try again.