Re: Comparing Object Identity [x-adr][x-bayes]

2002-12-13 Thread Dave Storrs
On Fri, Dec 13, 2002 at 09:49:44AM -0600, Garrett Goebel wrote:
> Other common names for the proposed .id are:
> 
> UUID: Universal Unique Identifier (DCE)
> GUID: Globally Unique Identfier (EFI)
> 
> 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 ;)

Which is actually rather a shame, since "Global" has multiple common
meanings in programming, which "Universal" does not.

--Dks



Re: Comparing Object Identity [x-adr][x-bayes]

2002-12-13 Thread John Siracusa
On 12/13/02 10:49 AM, Garrett Goebel wrote:
> John Siracusa wrote:
>> 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 ;)

...and if we also (or instead) want to have a universal method for getting
Perl 5-style memory address hashes ("FOO(0x12345)"), then that should have a
name without the phrase or idea of "identifier" anywhere in it, IMO:
"memhash", "memaddr", etc.

-John




RE: Comparing Object Identity [x-adr][x-bayes]

2002-12-13 Thread Garrett Goebel
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]