Sometimes it's hard to decide how to handle a failure in a method call. Raise an exception? Return a nil? Log an error? The best choice may differ depending on where the method is being called. In this episode, we look at a technique for defering the decision about how to deal with a failure to the point when a method is called.
Oop, this content isn't available to visitors. Please register or
log in to continue!
Or you could purchase this course.
Responses