Every time game programmers get called out for writing bad game code i get a bit angry. Games are a very convoluted thing to have to express in a procedural fashion.
Have you ever looked at a hello world opengl program in java that includes textures and bump mapping and light source stuff? Its a mess.
Also being highly productive has bugger all to do with writing "good code". Almost no code gets the job done.
I've written plenty of stuff that is "bad code" that runs faster (in a world were speed is important) and makes more money than the elegantly designed frameworks i've built.
I would go so far as to say good code is contradictory to highly productive solutions that get the job done. Indeed i know one large firm that employs and spends millions trying to find the best c++ programmers they can.
All they do is sit all day arguing about the best way to do things. Chatting to them in the pub they guess they write about 1000 lines of code a year that gets into production.