Skip to content

Primitive type #8

@juarseve

Description

@juarseve

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions