"John Siracusa" <[EMAIL PROTECTED]> wrote: > memory addresses is so infrequent that warrants a much > less common and/or longer method name than "id".
Another reason for not making these synonymous: Is the address of an object constant? Or might it be remapped during the life of an object. For example, arrays might move when they grow too big; distributed objects may move as they transfer onto different hosts; a persistent object might have a new address when retrieved from backing-store). I might want to write code such as: $remembered_id = $obj.id; ... [ time passes ] ... if $an_object.id == $remembered_id { ... } If memory addresses can change over time, then we need a more fundamental concept to act as the ID! Dave.