Some more indications that you might not be using Mock Objects to best advantage.
Category: Premium Episodes
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 #293: Integer Formats
Sometimes using a string format is overkill. Today we look at quick and easy ways to convert to and from hexadecimal, octal, binary, and other integer representations.
Episode #292: Delegate Class
Ruby's 'delegate' stdlib provides a couple different variations on delegator bass classes. Today we'll look at the differences between the two, and at how to choose on or the other.
Episode #291: Advanced Chunk
Today we continue our look at the Enumerable#chunk method, this time applying it to the problem of a streaming network protocol.
Episode #290: Chunk
Chunking streams of data by some criterion is a technique with a broad range of applicability. In today's episode, we'll learn about Ruby's approach to chunking.
Episode #289: Mocking Smells 2
Today we continue in our series examining mock-object code smells.
Episode #288: Partition
Today's is a quick episode about efficiently splitting a list into high- and low-priority subsets.