This study analyzed over 50 million code repositories on GitHub to evaluate the relationship between programming languages and code quality metrics like bugs, complexity, and duplication. The findings suggest that languages like Python, PHP, and Java tend to have lower code quality than languages like TypeScript, Rust, and Go as measured by several metrics. The results provide insights for both language designers and developers on how languages and practices impact code quality attributes at large scale.