The act of working on a solution will produce cruft that you must decide what to do with. The worse decision is to leave it. This design debt accrues and will cost you later. One solution is to extract it for reuse or study later. The best solution is to remove it completely.