I was enjoying lesson 10 when suddenly heard @jeremy explaining how to use Exceptions for flow control, especially for callbacks as a way to stop training/epoch/batch, etc.
Iād like for students to come here with an open mind to learn new things, rather than thinking they already know all the answers.
Both Swift and Python have implemented exceptions in a way that explicitly makes them work well for control flow. I tried half a dozen different approaches to control flow in this part of the callbacks notebook and found that exceptions were a clear winner for clarity both at caller and callee.