When are you truly forced to use UUID as part of the design?

前端 未结 16 876
盖世英雄少女心
盖世英雄少女心 2020-11-28 17:39

I don\'t really see the point of UUID. I know the probability of a collision is effectively nil, but effectively nil is not even close to impossible.

16条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-28 18:15

    On UUID==lazy design

    I disagree its about picking your fights. If a duplicate UUID is statistically impossible and the maths is proven then why worry? Spending time designing around your small N UUID generating system is impractical, there are always a dozen other ways you can improve your system.

提交回复
热议问题