DEV Community

Discussion on: Do you recognize your code 6 months later?

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Ah yes, the classic redundant rewrite. I believe I've done that a few times as well. I think it speaks towards making sure your refactoring is fully complete, which involves removing the original code you were replacing -- ensuring it is never seen again.

Collapse
 
fluffy profile image
fluffy

Not even a rewrite, but attempting to write something the first time before realizing I'd already done it. :) Apparently past-me is very good at predicting present-me's needs.