Rewrite Vs Refactor thumbnail
A free account is required to view this content

Rewrite Vs Refactor

Very often we work on a code-base that has been written by others some time ago. This code-base could be for the product code or Test Automation code. As the product life increases, the evolution of the code-base is a natural process. However, there are various catalysts to speed up this evolution process such as:


ย 

  • More features/tests to be added, including increased complexity,
  • People writing the code evolve - their learning, skillset,
  • Delivery pressure means it is quite possible that correct decisions for implementation may not be taken (it's possible that short-cuts were taken in the implementation leading to spaghetti code/architecture),
  • People move on to different roles, and new people join the team with different opinions, perspectives and experiences.

In this Masterclass, Anand shares various examples and experiences of being in situations where code needs rewriting or refactoring. Throughout the Masterclass, he highlights the factors he considers when deciding whether to refactor or rewrite the code under consideration.


ย 

This Masterclass was kindly sponsored by Practitest. PractiTest is an all-in-one test management solution where you and your team can manage, control, track, document and optimize your QA efforts in real-time. Release better software with confidence.


Comments

Sign in to comment
Explore MoT
Test Forward'27 ยท Software Quality in the age of AI image
Tue, 19 Jan 2027
Register today to guarantee your spot!
MoT Foundation Certificate in Test Automation image
Unlock the essential skills to transition into Test Automation through interactive, community-driven learning, backed by industry expertise
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter