I have been working for 6 months as a software engineer in a business where their codebase is terrible, messy code, no tests and many bugs.
When there's some bug fix or new feature, I try to refactor the code of the things I touch.
On my last change, I did a big refactor and they said they want me to remove the code comments from functions because they take space in the source file, and kind of undo some changes, even though it's not breaking anything.
Seems no one cares much about quality, they only want to get things done as fast as possible to deliver to the client.
I'm getting frustrated, and dispirited to work on this code.
My last job's codebase also was bad, but not this bad.
What should I do? Starting looking for a new position somewhere and hope finally I can work with some decent code?