We had contractors come in to do a project for us once, they had a team of programmers in India as well as a team on the ground. The team in India would produce a bunch of code for them during the night, and they'd review it, and carry on. Things were being done very quickly. Management was happy. Finally after months of this they let us review their code. Turns out that the contractors were just reviewing the output, and they were nailing it. The code itself was absolutely unmaintainable. There was clearly one programmer that had never heard of a jsp, and wrote all of his java to produce html within the java code itself, and another who wrote all of their business logic in scriplets in the jsps themselves. Years later we finally got the okay from management to refactor the whole project. That refactoring project reduced the deployable artifact from over 700mb, to just under 40mb. It reduced a ton of security vulnerabilities and made the code vastly more maintainable, and significantly more performant.
The purpose of a program shouldn't be the only consideration unless it's 1 off scripts.
The purpose of a program shouldn't be the only consideration unless it's 1 off scripts.