Knowing what to change is only half the battle. Being able to change it safely and accurately with confidence is the rest.
Understanding and trusting the intent of the code, which relates to how easily one can read it, only helps with the first part. Improving the structure by removing duplication helps a lot with the rest.
Mlnd you, given how low the bar generally is with code, this is still quite a lot. Even so, we can do better.
So yes, let’s take care about how quickly our fellow programmers understand the code, but let’s not stop there.
Knowing what to change is only half the battle. Being able to change it safely and accurately with confidence is the rest.
Understanding and trusting the intent of the code, which relates to how easily one can read it, only helps with the first part. Improving the structure by removing duplication helps a lot with the rest.
Mlnd you, given how low the bar generally is with code, this is still quite a lot. Even so, we can do better.
So yes, let’s take care about how quickly our fellow programmers understand the code, but let’s not stop there.