asdt560/To-Do-List

Javascript best practices

Opened this issue · 0 comments

  1. Strong type checks: used strong type checks consistently through the code.
  2. Variables: variables named mostly in sensible ways, some of them might be too detailed or not detailed enough (mostly the latter). targeter.js display.js
  3. Functions: names could be more descriptive. Some of them may have more actions inside them than they should. targeter.js
  4. Conditionals: negative conditionals avoided, should use conditional shorthands always. display.js complete.js
  5. Classes: used classes.
  6. Avoid in general: Repeated myself often when I was not sure how to otherwise proceed.class.jsdisplay.js