If you're following my PRs, I've been working on implementing some of the principles in the book to reduce the cognitive complexity of the code generator. https://github.com/dlang/dmd/pulls?q=is%3Apr+author%3A%40me+is%3Aclosed