sample-pie-shop icon indicating copy to clipboard operation
sample-pie-shop copied to clipboard

Refactor use of modules and (singleton) classes

Open samdutton opened this issue 7 years ago • 0 comments

We currently use different approaches to importing modules and using classes/singletons.

We should standardise on one best-practice approach.

We also need to follow the new Google style guide advice to avoid default imports.

Also, we instantiating a class should not have side effects — we need to fix that in a couple of places.

samdutton avatar Jun 24 '18 18:06 samdutton