in reply to Re: how to create a "delegating" array?
in thread how to create a "delegating" array?

This requires the "consuming" code to know about the internals of 'Bar' (by using autobox). That is clumsy and not what I want.


holli

You can lead your users to water, but alas, you cannot drown them.
  • Comment on Re^2: how to create a "delegating" array?

Replies are listed 'Best First'.
Re^3: how to create a "delegating" array?
by spx2 (Deacon) on Nov 29, 2009 at 20:00 UTC
    you can write code completely independent of 'Bar' if you use monkeypatching combined with autobox, is that what you mean ?
      maybe, i have no idea how i should "monkeypatch" a class.


      holli

      You can lead your users to water, but alas, you cannot drown them.