DEV Community

Discussion on: You changed the code, you didn't refactor the code.

Collapse
 
scheidig profile image
Albrecht Scheidig

Interesting point.

IMO it's the only responsibility of the contributor to check if the changed code is sufficiently covered by tests to make his change a refactoring. This is true regardless if he is the only contributor in the project or one of many.

It's like being careful when crossing a street even if the lights are green.