Member-only story
Stop trying to refactor everything newbie
Take a moment to stop and think before spending time refactoring
Joining a team as a junior developer means that, by default, you’re working on a codebase that you didn’t write.
Chances are, it’s a legacy codebase written over a long period of time by more than one developer.
You will begin to work on different parts of the project, and as you get more confidence, you will start to spot parts of the project which maybe aren’t up to date with modern standards.
But weirdly, the legacy code still works fine.
It may not be written in the most up to date way, but it’s in there running your application just fine.
“legacy” is a computer science term meaning “it works”
Your instinct when you work on older parts of the codebase will be to want to re-write to update them to match the latest updates in the language.
That isn’t always the best course of action.