Doing ordinary things extraordinarily well
Today, in my side gig, I had a chance (or an excuse to code) to refactor a codebase that no one wants to touch.
You can see from the image that this code has been neglected for a while (9 mos ago). And even with Sonar Cloud pointing out the issues, no one dared to touch it (or probably cared?)
I’ve been building frontend workflows for a while now, and I’ve seen my fair share of messy codebases (including mine!). But I’ve learned that it’s not about the code itself, but the people behind it. The team leader should “lead” the right mentality and set the right example for the team to follow. In the next few days, I’ll be doing sessions with the team to discuss clean code practices and how we can improve our codebase together.
Here’s my PR summary: