Thang
Results
2
issues of
Thang
Hero.add relies on instanceof to apply Buffs, which leads to monolithic code. By decoupling the strings from Hero on to their respective Buffs, the resulting code in Hero.add becomes more...