[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] Database slot-type addition
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] Database slot-type addition |
Date: |
Fri, 2 Aug 2002 10:08:10 -0700 |
Hal E. Fulton wrote:
>
> Rich Kilmer wrote:
>
> > Proposed addition of a slot type of 'hash':
> >
> > Added methods to slot:
> >
> > #slot.put(key, value)
> > #slot.get(key) #=> value
> > #slot.is_hash_slot?
> > #slot.hash # turn slot into hash slot
>
> Well, I see your point where slot.data={}
> is concerned. But for the others, we could
> make #hash create an object that was a
> subclass of Hash, with the [] and []=
> doing notification. Couldn't we? This
> would be more convenient than a #get and
> a #put, IMO.
>
> Actually I guess a 'get' operation doesn't
> need to notify a subscriber anyway.
I like this... a very useful addition.
Curt
- [FR-devel] Database slot-type addtion, Rich Kilmer, 2002/08/02
- Re: [FR-devel] Database slot-type addtion, Hal E. Fulton, 2002/08/02
- RE: [FR-devel] Database slot-type addition,
Curt Hibbs <=
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/02
- RE: [FR-devel] Database slot-type addition, Rich Kilmer, 2002/08/02
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/03
- RE: [FR-devel] Database slot-type addition, Rich Kilmer, 2002/08/03
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/03
Re: [FR-devel] Database slot-type addtion, Horacio Lopez, 2002/08/02
Re: [FR-devel] Database slot-type addtion, Laurent Julliard, 2002/08/02