Causes of Poor Code Quality
Complete Developer Podcast - A podcast by BJ Burns and Will Gant - Giovedì
Messed up code happens in every codebase, but for it to really be prevalent requires an ecosystem that makes it a appear to be the best choice most of the time. Small issues in a codebase continue to pile up until someone suggests a complete rewrite to fix it.