-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Primitive type #8
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: