On Mon, Aug 4, 2014 at 3:23 PM, John Barton <[email protected]> wrote:
> IMO a better design would have each platform subclass Loader, eg
> SystemLoader extends Loader and System (or 'system' if we decide to suddenly
> come to our senses) would be an instance of SystemLoader. SystemLoader would
> define the hook functions and custom Loader classes would extend
> SystemLoader to add features.  Custom loaders probably don't want to
> re-implement the hooks so much as augment them. The SystemLoader would
> support this naturally.

I agree with the broad strokes here.

The design as it stands doesn't specify the system loader or its
class. It's a platform-specific detail.

-j
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to