[Zope3-dev] Re: ObjectHub notes: ruid vs hid vs. ...

Steve Alexander steve@cat-box.net
Thu, 17 Oct 2002 12:01:56 +0000


Gary Poster wrote:
> [the third object hub email...]
> 
> The current implementation calls the hub ids "Ruids" for Registry Unique
> IDs, I believe, or something close to that.  Jim proposed HID, for Hub
> ID.  I started moving the implementation towards the HID name but ended
> up not liking it: "getHid", for instance, was more confusing than not,
> to me, because "Hid" does in fact mean something in English.
> 
> PROPOSAL: hubId.  getHubId, etc.  Still short, that's what it is, and
> I'm working on it so ought to have a bigger vote than usual, right? ;-) 
> Just kidding: an opposing consensus (or papal declamation, of course)
> will be welcomed.

+1

Although, why not go with attributes rather than accessor methods?

So, just SomeEvent.hubId rather than SomeEvent.getHubId().

--
Steve Alexander