Technical Debt
AI said to implement it this way for now and refactor later. What does that mean?
AI said to implement it this way for now and refactor later. What does that mean?
The same button style is written separately in 5 files; miss one and the page looks wrong.
Before: one change touches five places: The same button style is written separately in 5 files; miss one and the page looks wrong.
What was added: a shared component: Move the repeated style into one shared component and reference it in all 5 places; edit points drop from 5 to 1.
Feedback and boundary: After the change, verify each page's button appearance is unchanged—pages that changed are the spots still missed. Paying off this debt does not prevent new ones; every time-saving special case creates new debt.
This button style is duplicated in 5 files. First explain the debt's impact, then move the repeated style into one shared component that all 5 places reference. Afterward, verify each page's button appearance is unchanged and tell me where to edit when adding a new button.