Sobes.tech
Senior

There is an old module in the project, the business wants to add a new feature quickly, but you want to refactor the module first. What would you do?

sobes.tech AI

Answer from AI

In such a situation, it is important to find a balance between speed and quality. I would:

  1. Assess how critical the refactoring is for stability and supporting the new feature.
  2. Suggest breaking the work into stages: first, add the minimally necessary functionality to deliver quick results to the business.
  3. Simultaneously start refactoring to improve the codebase and simplify future development.
  4. Discuss with the team and business the risks and benefits of each approach to choose the optimal path.

This way, you can satisfy the business without compromising code quality.

There is an old module in the project, the business… - sobes.tech