Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 349 Bytes

Coding styles.md

File metadata and controls

10 lines (6 loc) · 349 Bytes

Coding styles

Functional programming versus object oriented

Style is oriented towards function programming, instead of object programming.

So instead of model.findOne({foo: 1}), we do findOne(mode, {foo: 1}).

We use classes to sign objects, (ie, DataConnection or DataModel) - but these objects have no methods, only properties.