Things like large functions or code duplication are not necessarily bad in the first place. A far bigger problem that I encounter regularly is the invention of extreme layers of abstraction to avoid a small amount of copy-pasting + edit in the name of DRY.
But an even bigger problem is lack of understanding of the problem domain and a lack of documentation on how you plan to fix the problem.
But an even bigger problem is lack of understanding of the problem domain and a lack of documentation on how you plan to fix the problem.