The point seems to be that the web is cool and hip, which attracts people without computer science backgrounds. Without a solid footing in software design fundamentals, "hack it until it works" seems like a perfectly valid way to run a development cycle.
The desktop is not cool or hip, so the people doing it tend to be people who really want to be there, not chasing trends. It's a vast oversimplification of the situation, sure.