~/talk

Patterns for Programming in JavaScript

Talkat Great Indian Developer Summit 2015 · 2015-04-21..04-24· [javascript]
slides:none on file

Shows concrete patterns and gotchas: enable use strict to avoid accidental globals, prefer === over ==, and use closures to encapsulate private state rather than exposing variables. Demonstrates putting shared methods on prototypes and using Object.create to set up inheritance safely, a small createClass factory to avoid repeated boilerplate, replacing nested callbacks with named functions for testability, using predicates as a lightweight strategy, and building fluent APIs by returning this. Warns that clutchy Singleton hacks are brittle and a plain module object often suffices.

AI-written summary · about

  1. 0:00Intro
  2. 2:38Use Strict
  3. 7:38Scope
  4. 9:09Anonymous Closure
  5. 12:25Creating Classes
  6. 24:40Inheritance
  7. 29:39Refactoring
  8. 38:12Clever Code
  9. 39:32Crude Code
  10. 40:40JSON Object
  11. 42:22Total Values
  12. 43:42Total Even Values
  13. 44:42Copy and Paste
  14. 46:12Guilt
  15. 49:12Fluency
  16. 50:42mailer
  17. 51:42Cascade
  18. 52:12Train Wreck
~/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.