~/talk

How Programming In Other Languages Made My Ruby Code Better

Talkat RubyDay 2016 · 2016-11-25..11-26· [ruby]
slides:none on file

Production work spans more than 15 languages and specific influences are Go, Elixir and Crystal. Go gets used for fast network services and real concurrency; Crystal shows near‑drop‑in Ruby syntax with static typing (a Sidekiq port completes quickly). Code moves to struct-like data containers and service objects with dependency injection, separating persistence from business logic so models become immutable data holders. Tests shrink: fewer external mocks, no expect_any_instance_of, faster unit runs. Errors get package tagging via modules and wrapped exceptions for clearer handling.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:27Exploring Go language influence
  3. 11:25Refactoring Ruby with structs
  4. 16:25Stateless business logic in Ruby
  5. 24:48Adopting functional style
  6. 33:22Dependency injection in Ruby
  7. 35:10Powerful error handling
  8. 39:25Designing without default parameters
  9. 43:23Simplicity and conventions
  10. 45:55Crystal’s impact on Ruby
  11. 51:01Q&A and closing
~/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.