Loader vs ES6 Classes
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...
More information about the es-discuss