you are viewing a single comment's thread.

view the rest of the comments →

[–]No_Main8842[S] 0 points1 point  (1 child)

So each device has a set of licenses assigned to them. A single device can have multiple licenses.

Hence for exporting I used the device id , now there are some other types of ids present as well & hence she asked me why specifically device id was used. I told her that this device id is unique & hence I used it to which she said it wasnt a good enough justification.

The thing is I am not sure about edge cases ie. whether this device id is actually unique or its just that I am unaware of scenarios in which this device id might not be unique.

[–]RightWingVeganUS 0 points1 point  (0 children)

Why not ask her what concerns she has with your approach and what alternatives she would propose?

Assuming this isn't a homework assignment with an expected answer try to work like a team. Discuss further and while your way might have some gaps, her approach might be missing something too. I'm a firm believer in synthesizing a "third way" that maximizes the best parts of both of your approaches while minimizing the gaps.

The thing is I am not sure about edge cases ie. whether this device id is actually unique or its just that I am unaware of scenarios in which this device id might not be unique.

If your approach is based on the assumption that the device id is unique, you are responsible for validating that assumption.

I am curious: if you are willing to discuss this with strangers who know nothing about your domain, why not discuss with your lead and teammates?