I read this article as "junior dev who doesn't know what they are doing follows greedy path to solving problem but is actually creating a legacy problem".
In particular, if you reach a point in a project that involves cutting a hole through a wall and you aren't familiar with the tools to do this as well as the implications of making a hole in a wall, you should back off and either research it completely before touching anything, or hire somebody who already learned the rules.
This is basic Chesterton's fence, along with several other rules you learn in software engineering over time and through experience.
In particular, if you reach a point in a project that involves cutting a hole through a wall and you aren't familiar with the tools to do this as well as the implications of making a hole in a wall, you should back off and either research it completely before touching anything, or hire somebody who already learned the rules.
This is basic Chesterton's fence, along with several other rules you learn in software engineering over time and through experience.