It has been brought to our attention that the Kindle version of the book currently has some serious formatting problems. Namely, some customers have told us that leading white space is stripped out, which of course renders the code samples uninterpretable.
Although we (as authors) have little ability to do anything about it ourselves, we have passed this info up the food chain in hopes that it can be resolved. In the meantime, if you have the option, we’d recommend avoiding the Kindle version of the book until or unless it can be resolved. Thanks to those of you who let us know! We’ll be sure to post an update if we find out anything different.