Professional Documents
Culture Documents
You should use class methods MOST of the time. Object each have different data / state and should
each behave differently.
Sometimes you have something that is always true (‘invariant’), in which case you need a class
method.
A good use of a static class method is to setup the data in a Controller class
class Controller {
static setup () {
Controller.setup should create and return the main / root class for a system.