~/talk

A Dangerous Game: Safety in Ruby

Talkat Barcelona Ruby Conference 2014 · 2014-09-11..09-13· [ruby]
github:rylev
slides:none on file

Argues that adding static types prevents common runtime failures, demonstrating an option type that eliminates nil errors and a compiled Idris example where a nonempty Vector refuses to compile, so those bugs never run. Compares Haskell/Scala style inference and Erlang’s dialyzer and mentions Michael Bernstein’s Ruby annotation tool that stops unproven code from running. Shows a tiny Ruby method with absurd test bloat (joked 244 tests) and explains where types reduce debugging time.

AI-written summary · about

  1. 0:00Introduction
  2. 2:17Ruby Errors
  3. 4:35Static Typing
  4. 6:27Static Typing Example
  5. 9:59Undefined Methods
  6. 12:21Testing Libraries
  7. 14:23Incorrect Output
  8. 16:12Head
~/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.