In everyday life
A plumber tapes a leaking pipe instead of replacing it, and saves an afternoon. Each later repair in that wall takes longer, because the next plumber must work around the tape, and nobody wrote down that it is there.
One case
To hit a launch date, a ride-sharing app hard-codedWritten directly into the code as a fixed value, instead of kept in settings or data. US dollars into 30 places instead of building support for other currencies. That saved 2 days. After launch, each fare change took longer than it should: 3 days, then 4, then 6. In November, adding Canadian dollars took 15 days, because all 30 places had to be found, fixed and tested.
Every case
Every codebase carries some debt, and some of it is a good deal: shipping before a deadline can be worth more than clean code. The cost is the interest: every later change in that area is slower and riskier. Debt that nobody wrote down is the worst kind. Nobody plans to pay it back, and the interest grows as more code is built on top of the shortcut.
The word
Engineers call this
Take a shortcut on purpose. Write down where it is and what it will cost, and pay it back before you build much on top of it.