Another little episode about thinking positive.
A little episode about thinking positive.
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 explore some more advanced considerations around the "audited predicate" technique from episode #279
Programs are good at giving us "yes" or "no" answers. But often the next question is: "why?". In today's episode we look at one way to answer this question.
Today we'll refactor some real-world business logic for clarity and ease of debugging.