Rewrite syndrome
Hello people im a coder and i have 4 or 5 years of exp with js which i learned at 12, yet i made this thing that mixes a few things being perfectionism, muscle memory and capped learning(coding for one process over time instead of moving on) i myself suffer with this, which i call rewrite syndrome where i or you make something but when theirs an error during test you or i rewrite it and i cant escape it myself so the best advice i can give myself and others is to stop coding for one thing but i also want advice from more experienced coders.