Billing-System icon indicating copy to clipboard operation
Billing-System copied to clipboard

Primitive type

Open juarseve opened this issue 1 year ago • 0 comments

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.

juarseve avatar Dec 27 '23 00:12 juarseve