We care a lot about having an optimal level of technical debt and write about this on our blog and in our handbook
https://www.dropbox.com/s/kdctzn1ha8z666l/Screenshot%202018-...I like the perspective I recently read here that you should avoid the debt with a high interest rate. If you got a fundamental concept wrong and that mistake spreads throughout your codebase that is much worse than an isolated piece of code that could be better.