Learn how to eliminate a whole class of possible user interface mistakes by modifying your API design, making it impossible to even express incorrect usage.
Today we learn how to match patterns and parse out values all at once.
In this sequel to #430, we apply a powerful pattern for encapsulating problem values.
In this episode, we address the Primitive Obsession code smell with a lesser-known design pattern.
Picking up where we left off in #337, today we look at how to add extra information to an error flag value, in a backwards-compatible way.
In this episode we'll build a simple command-prompt loop in Ruby.
This episode explores ARGF, a powerful object for working with input files in command-line programs.