Sleep quality and stress exposition affect the code quality way more than any technique, process, technology or programming language that you believe in
One of my most controversial software opinions is that your sleep quality and stress level matter far, far more than the languages you use or the practices you follow. Nothing else comes close: not type systems, not TDD, not formal methods, not ANYTHING.
Allow me to explain why.