DEV Community

Discussion on: JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Unless it's an extensive variable rename, my instincts are quite the opposite... I much prefer to do it myself - a tool like this just feels cumbersome and unnecessary

Thread Thread
 
lgrammel profile image
Lars Grammel

That's fair - the tooling value depends on personal preferences, experience, the complexity of & familiarity with the codebase, etc.