I lump those together into what I call Dependency-Driven Development.
Manage and reduce dependencies first, both external dependencies and internal dependencies within code, and better code will follow.
It's not always 100%, but in general the fewer the dependencies the better the code.
It's not always 100%, but in general the fewer the dependencies the better the code.