For software that became popular, sure. Have you spent a lot of time looking at horribly written unpopular software that far outpaces the popular ones in quantity, not quality?
I fully agree that a well-written human application can be far better organized and documented. But I’m not talking about the top 10% that most people interact with and focus on, but rather the bottom 90% that get far fewer eyes and are way more poorly written, regardless of perceived complexity.