They wrote 500m lines of code because that's how consulting companies in the software industry generally work. They want their employees to bill as many hours as possible to make as much money as possible. They also hire generally green developers to do most of the work and let them learn on the job to increase profits even further because junior developers cost way less than senior developers. And I do mean WAY less. I know you're trolling and mocking him but I still love to respond to these types of questions because I hate software development contracting firms. They always write shit code. Part of that is honestly because they don't get enough direction from the business though so I can't blame it all on them. They also try to write code that's as generic as possible right out of the gate which is a terrible way to approach a big project. You write specific code modules unless you know it will need to be reused at the spec stage. When you find the need to make code more generic that's when you go in and make it such because if you try to make everything re-usable by every other application and piece of code in the project out of the gate it very quickly gets out of hand and adds no benefit because a lot of code simply won't be reused. But people tend to go overboard with coding paradigms, especially in consultancy.