In fact, most startup codebases are dismal abysses of darkness, pain, and the cause for much wailing and gnashing of teeth. They are the furthest thing from the pristine green fields you imagine them to be.
The Epic Guide to Bootstrapping a SaaS Startup from Scratch — By Yourself (Part 1)
Clifford Oravec

Oh man, that hits close to home. But we always plan for the refactoring and removal of all the technical debt!