Skip to main content

Command Palette

Search for a command to run...

Can i refactor the code before a release?

Published
1 min readView as Markdown
Can i refactor the code before a release?
V

Engineer working in Cerebras. Latest work is Cerebras Inference. I love writing code in React, TypeScript, C++, Python. I spend most of my work hours tinkering with code.

Sometimes, we need to refactor the code. But there are deadlines that need to be met. So, do we refactor or incur technical debt?

The answer depends on automated test cases. If you have automated test cases and have good coverage, then it is better to refactor the code before the release.

But if unit tests are not available or coverage is less, it is better to leave the code as it is. A working code is better than beautiful code with bugs.

What are your thoughts?

More from this blog

V

Vijay Thirugnanam

38 posts

Short technical tips. Mostly stuff that I can refer to later.