DEV Community

Discussion on: Debug or Refactor? The Coding Dilemma!

Collapse
 
lakshg1 profile image
Lakshgupta

Debugging is better approach as I am the developer I have pinch of logics where the code might go wrong.
Certainly prepare test cases against that and deliver the curated code which reduces redundancy and improves scalability.