This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Some questions about GOOPS and CLOS in general


Mikael Djurfeldt writes:

 > Either you want an accessor (read/write) which is the standard case,
 > or you want a getter (read only).  The only setter case is equivalent
 > to not having the slot at all.

although this is reasonable, it is also reasonable that an object has
write-only slots.  eg., w1c bits in hw.  for such things i think it is
easiest to model w/ a write-only slot.  perhaps supporting write-only
slots makes goops design simpler?

regards,
thi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]