When trying to upload an EPUB to iBooks via iTunes Producer on the iTunes Store, if you encounter the following error:
I wanted to write a logger-like class and wondered, "Which would be more readable, using a generator or a class?" So I wrote and compared both.
Basically, you can make it speak with just this code: