Guidance on how to break down problems and structure solutions.
Category: Design
Episode #304: Custom Exception
In this episode, we begin defining our own custom exceptions for our apps or modules.
Episode #302: Safe Proxy Part 3
Concluding this live-coded miniseries, this week we will use a callback to add error reporting capabilities.
Episode #301: Safe Proxy Part 2
Today we'll build on the foundation laide down in the last episode, and convert some exceptions into benign return values.
Episode #300: Safe Proxy Part 1
Today we begin a live-coding miniseries about wrapping making objects "safe" so they don't raise exceptions.
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 #286: More Coincidental Duplication
In today's episode, we look at a new example of coincidental duplication: code that appears to be repeated, but really represents different pieces of knowledge.
Episode #282: Advanced Audited Predicate
Today we explore some more advanced considerations around the "audited predicate" technique from episode #279
Episode #279: Audited Predicate
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.
Episode #275: Antique Shop
Revisiting the idea of "referential transparency", today we look at some unforseen side-effects of a method that modifies its arguments.