The only time I haven't seen shabby code with caked on layers of features has been when I had the fortune of working on a development team that was trained to write software.
I've seen new languages and new development methodologies introduced to try to combat code complexity and the only thing I have seen so far that prevents it are people who take a step back and think about what they're creating before implementing it. These people are rare and go unrewarded for their efforts.