At this point the ID length comes from the uuidTime() function added with the name of the object.
The fixed ID length comes from an early stage, where it made sense combining the name and the ID in to one string to make the UDP ping format easier. This is obsolet now.
The goal for an object ID should be to generate a number that is “impossible” to be generated twice somewhere else in the world, since the objects should eventually be able to be referenced globally.
It might be more clean, to make the human readable name its own attribute and use any kind of length for the ID.
Reflecting on the idea to give each object a public key for the use with Blockchain technology, it might would make sense to define up to 36 characters for the ID.
What do you think?
created
last reply
Aug '15- 2
replies
- 2.6k
views
- 2
users
