Sigh, this one again.

The reason to refactor used to be because you were working in a monolith which had eons of bug fixes and quirks which if removed risked everything.

Well, things have changed, or they are meant to have. We deal with microservices, things which are small, focused, independent and well defined. They are meant to be so cheap to write that the refactor argument has lost the USP it used to have, either that or you have deeper problems that no amount of coding will solve.

It’s funny, I’ve found that my views have done a complete 180 these last years. Once upon a time I’d have gone gun ho into a refactor, but honestly these days I think it’s cheaper to just write it again.

I mentioned something key there, cheaper. Look, I’m not saying never refactor again, I’m saying there is a cost to value equation which whilst once upon a time was favourable to refactor, is now not.

Writing from scratch no longer carries the regression risk either, we should have rafts of automated tests pumping through all those fun scenarios we dealt with before, if a regression gets through then it deserves to and we deserve to suffer for our bone idleness and complete neglect to test the edge cases that cropped up in live.

To conclude, make an informed decision, do the math, and make sure you’re addressing any fundamental culture problems that mean it’s expensive to rewrite.

Meet the Author: Kevin Timmins

Kevin a multi-disciplined and value-focused individual who is a skilled Software Developer and Trainer. His unique background gives me a fantastic competitive edge when it comes to working with businesses to identify and deliver the projects they want. Kevin primarily operates as a full stack and cross-discipline Java developer. He prides himself on writing incredibly easy to read the code and take a very lean attitude when it comes to creating abstraction layers.he has an uncanny knack for teasing out unknown requirements and really drilling down to the bottom of issues and work.

Kevin specialises in core Java development, REST API's, MicroServices, Enterprise Messaging, Automated Testing, Continuous Integration and Deployment, SCRUM, Lean, Agile, DevOps, SQL, UNIX, Spring Boot, AWS, JPA and NoSQL. He is constantly adding to this list of specialisations, with his most recent acquisition being a CSTA certification which has provided him with a solid foundation for Cyber Security.You can visit Kevin's consulting website here.

Join the Webinar: Microservices, Ideal Vs. Real: When the two don't quite meet

Kevin Timmins will partner with DevHubNE on the 7th November at 7 pm hosting a webinar to educate on the realities and idealities of microservices, covering what to watch out for and what you can do to enable progress. You can join by registering here and follow DevHubNE on Twitter for updates on forecoming events, podcasts, webinars, industry content and networking opportunities. See you there!

Who Are Ronald James?

We are a leading niche digital & tech recruitment specialist for the North East of England. We Specialise in the acquisition of high-performing technology talent across a variety of IT sectors including Digital & Technology Software Development.

Our ultimate goal is to make a positive impact on every client and candidate we serve - from the initial call and introduction, right up to the final delivery, we want our clients and candidates to feel they have had a beneficial and productive experience.

Contact our Team

If you’re looking to start your journey in sourcing talent or find your dream job, you’ll need a passionate, motivated team of experts to guide you. Check out our Jobs page for open vacancies. If interested, contact us or call 0191 620 0123 for a quick chat with our team.

Let's be Friends!

Follow us on our blog, FacebookLinkedInTwitter or Instagram to follow industry news, events, success stories and new blogs releases.


Back to Blog

</Follow Us>