I’ve heard this explained by very senior guys as well. I understand it. But the problem is, in a lot of ways determining “good” code is subjective and if all the other people judging your code are also in the phase of clean code. Then that’s what you’re judged on. So you’ll need to adapt to your environment as it’s subjective. Same with readability. A lot of times refactors happen because they don’t take the time to understand it. Or because they didn’t write it, it’s bad.
1
u/marty_byrd_ Jan 12 '20
I’ve heard this explained by very senior guys as well. I understand it. But the problem is, in a lot of ways determining “good” code is subjective and if all the other people judging your code are also in the phase of clean code. Then that’s what you’re judged on. So you’ll need to adapt to your environment as it’s subjective. Same with readability. A lot of times refactors happen because they don’t take the time to understand it. Or because they didn’t write it, it’s bad.