It would be unfair to leave it without the link to the HN discussion where he explains in detail his reasons for writing it that way and defends against a lot of criticism, and video stream walkthrough of the codebase as of a couple of years ago
https://news.ycombinator.com/item?id=13797797
https://news.ycombinator.com/item?id=13638086