Long story short, I have started work on a very large system for my company, and the system does have a fair number of tests written but the code written here seems pretty bad. I say seems because I'm only a Junior developer, but there are some things I do know about.
One thing I'm having difficulty with, for example, is with the constructors, which contain a lot of logic and and initialization of objects. I don't however grasp how to refactor them. I am not sure if this is the type of problem covered in Fowler's book Refactoring: improving the design of existing code.
Suggestions from experienced devs are very much appreciated!
Aucun commentaire:
Enregistrer un commentaire