We all know the importance of code quality but it is very difficult to quantify. Many companies have average code quality and seem to do fine. To understand this better please share your experience when working with poor code quality and what was the breaking point.
Also share what language and technologies were used and if managers were forcing language choices or making bad decisions. Also if from experience give your opinion if certain technology leads to poor quality.
For example I think JavaScript leads to bad code quality. Mangers will want to use JavaScript because they think it is faster to write and can find more qualified candidates. They don't realize that good programmers should be able to write code in any language and that code writing efficiency is significantly less important than code reading efficiency.