Coffeescript/Mithril Coding Style

  • prefer is and isnt over == and !=
  • prefer unless ctrl.page() to if ctrl.page() is undefined
  • coffeescript vars should be pascalCase
  • Loop through objects like this: Object.entries(statsByRep).map ([rep, repStats]) =>