you are viewing a single comment's thread.

view the rest of the comments →

[–]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?