I wonder, do you think paying attention to clean code and standard code style should also be at the beginning? As in, I am now learning Python and I have a great mentor who puts a lot of emphasis on this (we use an automated code review app) so I just wonder how do other people view this, thanks!
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.
My name is Ikechukwu Charles. I am a Front-end web developer. I really love honing my skills to the extent that I started writing my own Javascript UI library from scratch, and playing basketball.
I wonder, do you think paying attention to clean code and standard code style should also be at the beginning? As in, I am now learning Python and I have a great mentor who puts a lot of emphasis on this (we use an automated code review app) so I just wonder how do other people view this, thanks!
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.
Is it bad if I don't refactor my code? Because I just don't do it. It feels too time-consuming.