~/talk

Discover Modern Ruby features

Talkat rubyday 2024 · on Friday, 2024-05-31· [ruby]
slides:none on file

Covers concrete Ruby changes: endless method (Ruby 3.0) for compact single‑statement defs that can still be multiline, data Define (Ruby 3.2) for immutable value objects comparable by value, hash literal value omission (3.1) that pulls a local variable into a hash to remove repetition, and pattern matching for destructuring JSON into locals (careful, it can overwrite existing locals or raise on nonmatches). Shows real code examples, a RuboCop config PR applied at work, and years when each feature landed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Why adopt new features
  3. 3:21Ruby's evolution
  4. 6:55Ruby's innovator dilemma
  5. 10:08Endless methods
  6. 16:25Ruby's data classes
  7. 21:15Hash literals in Ruby 3.1
  8. 24:04Argument forwarding in Ruby 2.7+
  9. 25:31Pattern matching in Ruby 2.7+
  10. 32:13Adopting modern Ruby
  11. 34:00Q&A
~/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.