AR7: Choosing technology and managing technical debt

Lesson 3 of 5 · reading 15–25 minutes; practice and project time is on the module page

Technical debt

🎯You'll be able to

Explain technical debt and its "interest", and tell deliberate, sensible debt from careless debt.

🏠The everyday picture

A shopkeeper who borrows to stock up before Diwali is using debt wisely, if they pay it back. One who borrows without noticing, and pays interest every month on old loans, slowly has less to spend on the shop.

📘What it really is

📝A worked example

Input: debt items in the RasoiRoute starter.

Steps:

  1. Five internal reaches and a cycle: every change to orders risks reports, invoices and notifications. Interest: slower changes, rollbacks (22.2% of deploys).
  2. Orders waiting for SMS: interest paid in incidents (42.3% start in notifications).
  3. A key written in the code: low interest until it leaks, then very high.
  4. A 44-line placeOrder: some interest each time it's changed.

Expected output: four debt items, each with its interest described in time, incidents or risk.

🌍Where it's used

📝Case scenario

A fintech team took a deliberate shortcut, hard-coding one bank's rules to launch quickly, and wrote it down. Six months later, adding a second bank took three weeks instead of one, and they paid the debt back as part of that work. The debt was useful because it was chosen and recorded.

🖱️Try it

List three shortcuts in a project of yours, and place each in Fowler's quadrant. Success: each has the interest it costs.

⚠️Common mistakes

🛠️For your project

The capstone's design notes begin with a technical debt register of at least five items, with their interest and cost to fix.

✅Quick check

What is the "interest" on technical debt?

Show the answer

The extra cost the shortcut causes until it is fixed: slower changes, incidents, risk.

Which debt usually costs most interest?

Show the answer

Debt in code that changes often.

← PreviousBuild, buy or open source
ProLearners Assist