~/talk

Using JavaScript from the Future in Your Rails App Today

Talkat RailsConf 2015 · 2015-04-21..04-23· [javascript, ruby-on-rails]
links:none on file
slides:none on file

ES2015 (ECMAScript 6) introduces concrete fixes and sugar: let and const stop hoisting and accidental globals (demo with five buttons), template strings replace fragile concatenation, arrow functions lexically bind this so callbacks behave, and classes/getters/splat/destructuring simplify objects. Rails integration uses Babel transpilation or sprockets‑es6 so modern syntax runs in current apps; browsers update every six weeks and transpilation lets teams ship ES2015 today with no mystery.

AI-written summary · about

  1. 0:00Start
  2. 3:41Towards a better language on the client.
  3. 5:55Firming up the foundation of the language.
  4. 9:09Turing students ask: "Hey Steve, what's your least favorite thing about writing JavaScript?"
  5. 10:14Template strings to the rescue
  6. 12:26Let's play a game.
  7. 22:01What about inheritance?
  8. 26:47Default Arguments
  9. 27:31Transpilation.
~/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.