CS FundamentalsModerateProduct-company placement
A team keeps postponing cleanup of a hard-coded module: each new feature touching it now takes three days instead of one. In the technical-debt metaphor, what are the 'principal' and the 'interest'?
- A. Principal is the extra two days per feature; interest is the cleanup
- B. Interest is the number of bugs in the module
- C. Both are the same cost
- D. Principal is the cost of the cleanup; interest is the extra two days paid on every feature until it is done
Correct answer: D. Principal is the cost of the cleanup; interest is the extra two days paid on every feature until it is done
Like a loan, the shortcut's principal is the work needed to fix it; until repaid, every change pays interest in extra effort. Repaying makes sense when the interest stream outweighs the principal.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A UML state machine has the transition Idle → Processing labelled 'submit [cart not empty] / validateCart()'. What do the three parts mean?
- A team draws one UML diagram showing which artefacts (JARs, containers) run on which nodes (servers, devices) and how the nodes…
- Using Robert Martin's Stable Dependencies Principle, package A has instability I = 0.2 and package B has I = 0.8. Which dependency…
- What is the cyclomatic complexity of this function, counting each simple condition separately and each loop header as one decision? python…
- A team wants its HTTP API to allow safe retries of PUT /users/42 with the full user body. Which property of PUT makes this safe, and what…
- Putnam's software equation implies that, for a fixed size and process productivity, effort varies as 1/t^4, where t is the development…