Loader vs ES6 Classes

Kevin Smith zenparsing at gmail.com
Mon Aug 4 13:25:33 PDT 2014

> 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.


Also +1 to renaming "System" something more sensible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140804/524f6d91/attachment.html>

More information about the es-discuss mailing list