~/talk

Maintainable JavaScript

Talkat HTML5DevConf 2013 · 2013-04-01..04-03· [javascript, developer-experience]
links:none on file
slides:none on file

Maintainable JavaScript means code that works for five years without major changes; emphasis is on intuitive structure, clear naming, comments for surprising lines, no modifications to objects you don’t own, and separating HTML/CSS/JS. Recommends JSDoc/YUIDoc/Docco, linters (JSLint/JSHint), minifiers (YUI Compressor, uglifyjs, Closure), and a build system (Ant or grunt) producing dev/test/deploy bundles. Notes a ten‑year‑old codebase that was easy to change and mentions a small utility called props-to-js on GitHub for externalizing configuration.

AI-written summary · about

  1. 0:00Intro
  2. 1:26What is Maintainability
  3. 2:50Your company cares
  4. 6:24Maintainable code
  5. 9:55Code conventions
  6. 12:04Code style guides
  7. 14:38Merge conflicts
  8. 18:25Naming
  9. 20:28Acronyms
  10. 22:24Programming Practices
  11. 23:13Frontend Layers
  12. 24:03JavaScript in HTML
  13. 25:58Keep JavaScript out of CSS
  14. 32:56Throw your own errors
  15. 35:44Type of
  16. 36:10Configuration data
  17. 39:25Automation
  18. 40:14Build Process
  19. 47:05Conclusion
~/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.