[Grace-core] Library Structures

Michael Homer mwh at ecs.vuw.ac.nz
Tue May 27 14:29:32 PDT 2014


On Wed, May 28, 2014 at 9:04 AM, James Noble <kjx at ecs.vuw.ac.nz> wrote:
>
> On 28/05/2014, at 08:48 am, Michael Homer <Michael.Homer at ecs.vuw.ac.nz> wrote:
>
>> This only works when you have separated client code and library code, which I think is the goal here. So you can swap out one list implementation for another across all your client code at once, but not swap out one piece of client code for for another. You can have internal dependencies on either side as well, but platform is an isthmus.
>
> OK, yes that makes sense.  Rather than a lot of imports, one big imports with a lot of fields.
> I guess the downside is the dependencies are less clear from the text of the program.
I didn't say it was a good idea. There may be cases where it's
convenient at limited points, though.
-Michael



More information about the Grace-core mailing list