Thanks for the additional clarification for context---what a mess!
>From your example, it seems that the current PDL approach for OO via
"has-a" doesn't work but my question is what method would work? Is there
an example of an OO language or framework that can be shown to work for
this type of problem? Is the problem with PDL, perl5, both, neither?
--Chris
On Mon, Oct 24, 2016 at 12:51 PM, Diab Jerius <djer...@cfa.harvard.edu>
wrote:
> On Mon, Oct 24, 2016 at 12:43 PM, Diab Jerius <djer...@cfa.harvard.edu>
> wrote:
> > initialize() currently must assume that object construction can be
> > done without any arguments to the constructor. That's inappropriate
> > in some instances (as described above).
>
> And once more, to clarify...
>
> initialize() is not passed any context, so must assume that object
> attributes have defaults which are context independent. This is not
> always appropriate.
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel