Do you even refactor, bro?

codevault

Sergiu Mureşan

Posted on August 21, 2018

Do you even refactor, bro?

You are surrounded by a horribly implemented functionality made up of multiple files of hundreds of lines each that barely crawls while doing its job.

The front-end is a mountain of copy-pasted HTML templates using very "!important" CSS coupled with highly redundant and confusing JavaScript functions that who knows where they are called from or how to even use.

Back-end looks innocent with only a couple calls but it absolutely stinks from the amount of workarounds that the current architecture didn't account for and the repetitive boiler-plate code for each entity in it.

Your task is to refactor this beast while keeping all its functionality intact. How would you tackle this monster?

(a.k.a. What are the more generic steps you use while refactoring?)

💖 💪 🙅 🚩
codevault
Sergiu Mureşan

Posted on August 21, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related