How to Avoid or Remedy Technical Debt