|
From: Sean A C. <se...@co...> - 2002-11-01 05:26:31
|
On Thursday, Oct 31, 2002, at 15:38 US/Pacific, Jeremy Firsenbaum wrote: > I'd like to think that if it's not a simple value then it should be an=20= > object Agreed! > I would do the latter, put the handle attribute in the collection=20 > description. Which brings me to a nagging issue I have with OO in=20 > general - objects returning=A0collections of themselves.=A0Is it = really=20 > "clean" to have a getAll() method in basecontentobject? I see this=20 > kind of thing all of the time in Java programs and it always makes me=20= > cringe. Yup. Legal but *ugly*... "I have always wished that my computer would be as easy to use as my=20 telephone. My wish has come true - I no longer know how to use my telephone." -- Bjarne Stroustrup |