So in my workplace, our current Web application is a monolithic mess. Database calls from the UI layer, so much duplication and just some down right horrible code, plus don't get me started on the lack of test coverage.
Now by no means am I a saint. I'm still very early in my career, but I've taken a keen interest in writing clean, readable and testable code, as I want to instill good habits on myself and also to help those who come after me and read/extend my code.
The problem I have is that I am so junior. My lead developer is very understanding and she's started to take a vested interest in writing cleaner code, but the other devs on the team don't seem to listen or follow best practices. I feel with being so junior the other devs won't listen to me and shrug me off sort of. I've been trying to lead by example by refactoring code, adding tests and mentioning in code reviews about certain improvements.
So what have you guys done in your workplace to improve the quality of code? Have you hosted meetings stating the importance and showed some of the steps to writing clean code? Kept mentioning improvements in code reviews? Adding some rules to the code base for test coverage/naming conventions etc?
Now by no means am I a saint. I'm still very early in my career, but I've taken a keen interest in writing clean, readable and testable code, as I want to instill good habits on myself and also to help those who come after me and read/extend my code.
The problem I have is that I am so junior. My lead developer is very understanding and she's started to take a vested interest in writing cleaner code, but the other devs on the team don't seem to listen or follow best practices. I feel with being so junior the other devs won't listen to me and shrug me off sort of. I've been trying to lead by example by refactoring code, adding tests and mentioning in code reviews about certain improvements.
So what have you guys done in your workplace to improve the quality of code? Have you hosted meetings stating the importance and showed some of the steps to writing clean code? Kept mentioning improvements in code reviews? Adding some rules to the code base for test coverage/naming conventions etc?
Comment