@thomasfuchs I tend to think of technical debt as very specific non-optimal choices -- that you expect to have to revisit later at a cost -- in order to make a deadline deemed to be more important than the time loss. It's a deliberate trade-off.
The intent is important. Sloppy programming or poor planning is something else entirely.