- README file contains:
Code Smell:
Definition:
Solution:
p.s. your refactored function have to work just like how the old
UpdateQuality()
function was working
recourse:
- https://github.com/NotMyself/GildedRose
- http://iamnotmyself.com/2011/02/14/refactor-this-the-gilded-rose-kata/
please make sure you fork this repo and submit your code as PR.š¦¾
Duplicated code.
identical code that exists in more than one location.
moving the code into its own method and calling it from all places where it was used.
Long method.
a method that has grown up too large.
a method needs to be broken down into smaller methods.