Answer the question
In order to leave comments, you need to log in
How to unload a class with a lot of methods?
There is a class in which many methods have appeared over time (now about ~ 400 lines of code), the methods themselves are small and neat, but I understand that so much code inside 1 class is unacceptable (after all, this class is planned to be expanded further). What architectural solution is best for unloading this class, where to look?
Answer the question
In order to leave comments, you need to log in
Most likely it solves many different problems. Divide a class into parts: 1 class 1 task
https://refactoring.guru/en/smells/large-class
PS
Don't touch it works :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question