Why do Ruby programmers use so much String interpolation where other devs might prefer concatenation? Join Jessitron and Avdi for a dialog on language design, idiom, and history!
Tag: operators

Episode #617
Function Pipelining in Ruby
Have you ever looked at function "pipelines" in FP languages like Elixir and F# and wished Ruby had them? Let's explore the equivalents Ruby provides out-of-box, or with a little …

Episode #438: Subscript Constructor
Eliminating astonishment with a special Ruby idiom for object creation.

Episode #391: Hash Subset
A new feature in Ruby 2.3 makes it easier to compare hashes by value.

Episode #266: Pattern Matching
Ever wanted to have fancy pattern-matching in Ruby like that found in languages like Erlang or Elixir? Well, today we'll construct the ability to do just that!

Episode #223: Equalizer
We know that Value Objects are useful; today we'll meet a gem that makes them easier to build.

Episode #218: Spaceship Revisited
In episode 205 we introduced the spaceship () operator, but we also introduced an incompatibility with how Ruby's builtin comparisons work. Today we'll address this oversight.

Episode #202: Identity And Equality
Today's episode deals with the concepts of identity and equality - what makes one object equal to another.

Episode #159: Array Set Operations
Sometimes we'd like to treat Ruby arrays like sets, in which each item is unique. Today's dish shows how!