4 ms·
This is specific case of the more general flaw in a lot of design work - "I have a collection of things, these things always have an X with property Y, so I'll
by ska 10y ago
This is specific case of the more general flaw in a lot of design work - "I have a collection of things, these things always have an X with property Y, so I'll just organize/key them that way".
This works great until property Y is violated... or until you run into one without "an X". Most times you are better off to just start with unique identifiers and avoid breaking logic.