Home > front end >  Reflection: why is it easy to write code and logic, and then go to modify the logic will feel unprep
Reflection: why is it easy to write code and logic, and then go to modify the logic will feel unprep

Time:02-03

Also recently in rethinking why write their own code when to modify will feel unprepared, do not know how to start, clearly development logic is very clear, but is very trouble to modify, afraid to change a place, other place there will be a bug?

CodePudding user response:

First, the logical split as far as possible, even to associate do change one place will not affect other
Second, completes the annotation, the change will affect
  • Related