Language features, syntax, and gotchas.
Category: Language
Episode #242: Logical Require
Today we discuss the downsides of using require_relative, and explore a more robust way to handle code loading within projects and libraries.
Episode #240: Relative Require
Today our ongoing series on loading code brings us to the topic of loading features relative to the current file.
Episode #237: Require
As we continue to talk about the process of loading code in Ruby, today we look at how requiring features differs from loading files.
Episode #236: Wrapped Load
As we continue our exploration of how code is loaded into Ruby processes, today we take a look at a technique for running an external script inline without polluting the …
Episode #235: Load
Today's episode kicks off a little series on loading code in Ruby. To start off, we'll look at what it would take to recreate Ruby's logic for locating code files …
Episode #234: Warn
Today we talk about how to let client coders know that something might be amiss... the Ruby way.
Episode #233: Flip-Flop
Continuing from the last episode's them of exploring the Range type, today we look at one of Ruby's more peculiar legacies from AWK and Perl.
Episode #232: Range
Good morning diners! On today's menu, we have a deep exploration of Ruby's Range type. Even if you've used ranges before, you might find something new to chew on. Enjoy!
Episode #227: Multiline Memoize
Today we'll look at two different ways to memoize a complex method, and talk about why I prefer one over the other.