https://github.com/riksev/refactoring
Refactroing dirty code. Learning to use tests
https://github.com/riksev/refactoring
Last synced: 2 months ago
JSON representation
Refactroing dirty code. Learning to use tests
- Host: GitHub
- URL: https://github.com/riksev/refactoring
- Owner: Riksev
- License: apache-2.0
- Created: 2024-06-05T18:08:31.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T18:20:14.000Z (12 months ago)
- Last Synced: 2025-01-21T06:13:23.576Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Refactoring
This project was based on code from book "Refactoring: IMproving the Design of Existing Code by Martin Fowler, Kent Beck, John Brant, William Opdyke, don Roberts".
Firstly, Java code was rewrited into JavaScript. Secondly, test were added. Thirdly, some refactor methods from book were made.
After that I added own changes into code.
# Files
Main files are videoStore_old and videoStore_new. The old one contains rewritten code (from Java to JS) from the beggining of the book.
New version has finished code with refactoring. Also project has package.json in order to let you know, which modules were used and to
use it with NPM from Node.js. Also, there is videoStore.test included. Enjoy observing project!