Skip to content
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

Open
juarseve opened this issue Dec 27, 2023 · 0 comments
Open

Primitive type #8

juarseve opened this issue Dec 27, 2023 · 0 comments

Comments

@juarseve
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant