DEV Community

Discussion on: Embrace the Copy/Paste

Collapse
 
qm3ster profile image
Mihail Malo

I find that "thoughtfully typing" it is the ideal solution.
In other words, using your own function/variable names, refactoring to use functional methods like .map instead of for loops, etc.
By the time you reach the end, you almost always understand how it works.