DEV Community

Discussion on: My developer journey: learn from my mistakes

Collapse
 
mouadkh9 profile image
Mouad K.

It is important to try to write code as clean as possible, but if you're just a beginner don't spend too much time on it. The "Perfection Trap" is when you get stuck on minor tasks trying to write flawless, optimized code when you don't have to, instead aim for being good enough, and if you have enough time try to refactor later.

Collapse
 
michthebrandofficial profile image
michTheBrandofficial

Is it bad if I don't refactor my code? Because I just don't do it. It feels too time-consuming.