Aleksandr
Property meanings
Hi all
I'm discussing with the group leader the meaning of a certain property. We have a property called 'Day', which indicates the duration of a subscription in days. We need to determine the type of subscription, as there are several different subscriptions implied, and we need to adjust the rules of interaction with them. Therefore, in the code, we need conditions that will set the type of subscription for an object. I suggested adding an additional enum field specifying the subscription types, but my team lead wants to check the subscription type based on the 'Day' property. Since he threatens dismissal when I ask questions, I'm turning to you with this question: what is the correct approach and what might I be missing?
16 replies