Ariel Caplan
← All speaking RubyConf 2020 · November 17, 2020

The Humble Hash

Hashes seem simple. But Ruby makes surprising choices that add a lot more depth than you'd expect...

Video

Slides

About this talk

Hashes seem simple. Set a key to a corresponding value, retrieve the value by key. What else is there to know?

A whole lot, it turns out! Ruby makes several surprising choices about how hashes work, which turn hashes into dynamic powerhouses of functionality.

We’ll dive into how hashes work, understand how they form the groundwork for some extremely useful standard library utilities, and learn patterns to leverage the unparalleled versatility of the humble hash to write concise, performant, beautiful code.