Language features, syntax, and gotchas.
Category: Language

Episode #638
Ruby as a Filter
Learn how Ruby's -p flag along with a bunch of handy shortcuts can take a script's worth of text filtering and shrink it to a one-liner!

Episode #636
I got my flippy-floppies
Put on your flip-flops, because today we venture ever deeper into the world of Ruby one-liners!

Episode #635
ARGF, That’s Some AWK-ward Ruby!
Diving deeper into the world of Ruby one-liners, today we'll learn about more special variables, querying the input stream, and... ghoooooost loooooops! 👻

Episode #634
You Could Have Sed It in Ruby
Don't spend time mastering UNIX tools if you can use Ruby one-liners instead.

Episode #629
Nested Class
Want to cut down on the mental friction of good object design? Use this organic approach to sprouting new classes in Ruby!

Episode #626
Numbered Parameters
In a language full of expressive little shorthands, it's time to meet a new idiom! This one makes simple blocks even more concise.

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 …