I feel like alot of code complexity comes from making it testable in practice. To make unit testing possibly you need so many ways to hook into things and you need abstraction everywhere to make it possible.