Hello I am working in web development. I have the responsibility for execution of a project. I have some juniors that I delegate tasks to them and they do it. This flow seems fine to me.
But when I look in the code I find some things that should not be there. Some practices need not be there. I am not any kind of ninja coder but I can recognise bad habits.
By bad practice I don't mean wrong , the code will work as expected but I am kind of OCD and it irritates me sometimes because it may limit the performance of the app.
I have two options to tackle this:
Leave the work as it is tell them not to repeat again as the current version is working fine.
Correct all by myself or instruct them to correct it , but this approach will take some time and cause project delay.
What approach should I take here or is there any other solution for this?