~/talk

Improving the Quality of JavaScript Code

slides:none on file

Shows how to fix real JavaScript mistakes: prefer use const/let not var, prefer === over ==, enable "use strict" to catch undeclared variables, copy objects with spread to obey open/closed and DRY, and favor a functional pipeline (filter/map/reduce) to lower cognitive load. Recommends tooling and CI: npm install, npm test, then ESLint plus Plato in CI, with an example Plato score moving from 65% to 93% to 100% after refactoring.

AI-written summary · about

  1. 0:00Principles of quality code
  2. 2:21Avoiding design violations
  3. 8:04Questioning and code quality
  4. 12:34Specific JavaScript quirks
  5. 17:42Modernizing variable usage
  6. 26:22Functional programming style
  7. 34:03Empathy and abstraction
  8. 38:25Leveraging automation tools
  9. 45:29Complexity and refactoring
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.