Guidance on how to break down problems and structure solutions.
Category: Design
Episode #270: Referential Transparency
In this episode we'll discover a particularly insidious side effect of implicit global I/O dependencies.
Episode #268: Complex Predicate
Today we'll refactor some real-world business logic for clarity and ease of debugging.
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 #263: Immutable Enumerators with Tom Stuart
In today's special guest episode, Tom Stuart shows us the benefits of using enumerators as immutable collections.
Episode #256: Workflow
Today's episode is about coordinating application workflow using simple Ruby idioms.
Episode #249: Unindent
In today's episode we explore methods for unindenting text. Along the way, we'll learn some tricks and play some code golf.
Episode #243: Replace Parameter with Option
In this episode we take a method with a large and unweildy signature, and begin to pull parameters out into configurable options.
Episode #229: Consequences
In today's episode we'll meet an application written without tests, and discover the repercussions of that decision.
Episode #228: Reconsidering Regexen
Regular expressions are one of the most powerful tools at our disposal. But sometimes they aren't as well suited to a job as they may first appear. In today's episode …