You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Primitive types representing days in Sale class may difficult code maintainability.
A class representing a month can be created and the logic moved there to ensure data encapsulation and even move through month types depending on days cardinality. Or even better, use object that already exist to attack the problem.
Suggest are to use Replace Data Value with Object refactoring technique.
The text was updated successfully, but these errors were encountered:
Primitive types representing days in Sale class may difficult code maintainability.
A class representing a month can be created and the logic moved there to ensure data encapsulation and even move through month types depending on days cardinality. Or even better, use object that already exist to attack the problem.
Suggest are to use Replace Data Value with Object refactoring technique.
The text was updated successfully, but these errors were encountered: