Refactoring the current TextManager class would be a good idea. Currently this class is used as a convenience utility to group together initialization data and runtime data, but this is against what a class is for.
A class should represent some data,/ represent some kind of object.
Moving to functional approach might be better. Extraction of result calculation is also a priority.
Refactoring the current TextManager class would be a good idea. Currently this class is used as a convenience utility to group together initialization data and runtime data, but this is against what a class is for.
A class should represent some data,/ represent some kind of object.
Moving to functional approach might be better. Extraction of result calculation is also a priority.