I have done some work for my personal project, and now I understand why people tell us to plan all our interfaces and design before coding. I have some good classes and some kind of working code already, but overall the organization (architecture) is a bit of a mess, and I already say: βIf I did it again, I would do it like that ...β . The question is, should I sketch out a plan for how I want my code to look, and refactor the existing code into a new model, or if I have to accept what works great and write all the new code for the missing parts (basically starting from scratch with enough copies and paste in this project).
I have a git story, I'm not sure I want to lose, but the task of slowly rewriting everything seems complicated. Therefore, the question I ask is this: when you need to reorganize a young project, do you need to use evolution or revolution to understand this a second time?
refactoring
Mighmoos
source share