Idioms and stylistic preferences for readability and malleability.
Category: Style
Episode #395: Microconcerns
Today, we think about separating concerns at the very lowest level.
Episode #384: Loop Golf
In which we try to match the brevity of C code, and learn some things along the way.
Episode #307: Command Loop
In this episode we'll build a simple command-prompt loop in Ruby.
Episode #295: Predicate Return Value Part 2
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.
Episode #294: Predicate Return Value Part 1
Predicates return booleans, right? Not always, as it turns out. Part 1 of 2.
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.
Episode #212: More Of Same
Today's episode deals with a small matter of style, one that can have an impact on how easy it is to refactor code.