John Siracusa wrote:
> 
> I'm saying that there are many kinds of objects that
> naturally want to have an "id" method or attribute
> that has nothing whatsoever to do with "this is the
> same object" comparisons.
[...]
> Using the method/attribute named "id" for "this is
> the same object" comparisons is just plain bad
> Huffman coding.  The "this is the same object"
> method/attribute should have a name that reflects
> the relative rarity of its use.

Other common names for the proposed .id are:

UUID: Universal Unique Identifier (DCE)
  http://www.opengroup.org/onlinepubs/9629399/apdxa.htm

GUID: Globally Unique Identfier (EFI)
  http://ulita.ms.mff.cuni.cz/pub/techdoc/ia64/EFISpec_092.pdf
  (page 319)

Of the 2, usage of "GUID" seems to be more common IMHO. Both of the above
are identical in implementation. And won't rollover until 3400AD ;)

--
Garrett Goebel
IS Development Specialist

ScriptPro                   Direct: 913.403.5261
5828 Reeds Road               Main: 913.384.1008
Mission, KS 66202              Fax: 913.384.2180
www.scriptpro.com          [EMAIL PROTECTED]



Reply via email to