Break-even uses for a reusable component

A developer can spend 6 extra hours turning an internal logging module into a reusable component with general settings, documentation and tests. Each later project that adopts the component avoids 1.5 hours of writing its own logging code, but spends 0.25 hours integrating and configuring the component. Using a time-only break-even model, what is the minimum number of projects that must reuse the component for the total time saved to at least equal the 6-hour up-front cost? Answer as a whole number of projects.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Code Reuse Questions: