kpreid/cubes — Issue #13: Be consistent about constructor design
Author: kpreid
Created: 2012-01-22 00:15:05+00:00
State: open
Labels: code-quality

There are several different styles of constructors in use; some return a fresh record, some define some functions and then assign them to `this`, and some assign each function as it's defined. There should be a consistent pattern used for defining objects, and prototypes should be used where possible.