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








