[Ns-developers] A question about object aggregate
tjkopena at cs.drexel.edu
Mon Jul 14 11:51:21 PDT 2008
On Sun, Jul 13, 2008 at 11:13 AM, valpassing <valpassing at gmail.com> wrote:
> >From the code, it shows that aggregate objects have different TypeId
> each other. Can someone explain to me that what is the reason that
> only object with different TypeId can be aggregated?
I think the main reason here is basically simplicity. If you had
multiple objects of the same type, you'd have to provide an interface
to access it. More importantly, every time you wanted to use an
object you'd have to track & make sure it was the one you wanted,
which could be impossible or very impractical in some cases, and
annoying in an overwhelming percentage of use cases.
- joe kopena
right here and now
More information about the Ns-developers