~/talk

Weird Ruby

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

Showcases concrete oddities: ENV is an Object that syncs with the process environment, numeric literals beginning with 0 are octal, modifier-if collides with number literals, and string successor behavior produces surprising ranges and version sequences. Notes language changes: class variables behave differently in Ruby 3 and constants can be reassigned with warnings. Mentions tooling with numbers: RuboCop hits 424 million downloads, celebrates 12 years and adopts a super‑fast parser, and several examples demonstrate which tricks actually work and which explode.

AI-written summary · about

  1. 0:00Introduction
  2. 8:07Open source and RuboCop updates
  3. 11:00Defining weirdness in Ruby
  4. 15:18Calibrating Ruby weirdness
  5. 22:08Precedence and env quirks
  6. 25:17Numeric and modifier quirks
  7. 27:53OO negation and string increments
  8. 31:24String manipulation and freezing
  9. 33:07Infinite predicates and heredocs
  10. 35:21Lambda, aliases in Hash
  11. 37:29Code and data with end
  12. 39:00Closing and Q&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.