This perhaps won't be a popular opinion on Hacker News, but for decades I've been increasingly convinced that one of the main issues in the computing landscape is that we already have 100X more code and applications and even programmers than we need. Many of these programmers with much of this code are mainly just making needless work for each other. For example, how many accounting systems do we really need as a global society? How many email clients?
What we really need IMHO is fewer applications but ones of higher quality and greater flexibility and greater simplicity, based around a few flexible, extensible, widely-agreed-on standards, with all of it being free and open source and unencumbered by software patents.
Related: "Simple Made Easy": https://www.infoq.com/presentations/Simple-Made-Easy/
(Granted games might be a special category since part of their appeal is novelty, but even there they could use common libraries and data standards.)
AI coding just increases this problem massively (which is in accord with an aspect of your software gardening analogy and pruning weeds).
To be clear, I think everyone who wants to should learn to program should as part of a good education and personal self-development. It's just that we need, say, less widely-used monstrosities like, say, PHP (even if PHP got ease-of-hello-world right and got web-server-integration-out-of-the-box right) and more well-designed systems like, say, Scheme or Smalltalk.
And paradoxically, the results might be a greater diversity of digital content at a higher level, like suggested by Manuel De Landa https://web.archive.org/web/20240314160745/http://www.t0.or.... "To make things worse, the solution to this is not simply to begin adding meshwork components to the mix. Indeed, one must resist the temptation to make hierarchies into villains and meshworks into heroes, not only because, as I said, they are constantly turning into one another, but because in real life we find only mixtures and hybrids, and the properties of these cannot be established through theory alone but demand concrete experimentation. Certain standardizations, say, of electric outlet designs or of data-structures traveling through the Internet, may actually turn out to promote heterogenization at another level, in terms of the appliances that may be designed around the standard outlet, or of the services that a common data-structure may make possible. ..."