ai generated code is not good. I don't think it will ever be good because there's more to building a software system than auto complete.
but it doesn't have to be good to be a threat. capitalism does not optimize for good, it optimizes for profit, and what's profitable and what's actually good often don't overlap. mass produced fast food is strictly worse than other kinds of food, but fast food corporations are multi billion dollar operations.