Episode #639
Interpolation over Concatenation

Recently Jessica Kerr and I had a conversation about a Ruby idiom that I take for granted anymore: the preference for string interpolation over other methods of building up text, such as concatenation. Here, with some visual aids, is a reenactment of our discussion of four different reasons Ruby programmers lean heavily on String interpolation.

Members only

Log in below or get 48-hour access for $5.

Need more time? See all available plans.