Idioms and stylistic preferences for readability and malleability.
In which we try to match the brevity of C code, and learn some things along the way.
Which way do your methods point?
In this episode we'll build a simple command-prompt loop in Ruby.
In the second of two episodes about predicate return values, we look at some of the subtle ways that non-boolean predicate return values can catch programmers by surprise.
Predicates return booleans, right? Not always, as it turns out. Part 1 of 2.
Today we'll look at two different ways to memoize a complex method, and talk about why I prefer one over the other.
Today's episode deals with a small matter of style, one that can have an impact on how easy it is to refactor code.
In this episode we create a function for converting arbitrary values into Feet objects.
Today's episode is about a semantic convention for error handling that I learned from Jim Weirich.
Ruby doesn't have a built-in concept of "abstract" classes, but sometimes we want a way to show other programmers when methods are left as an exercise for the implementor. This …