This question already has an answer here:
I have a coworker who is a bit older than me and doesn't follow good coding practices. His coding style is like the wild west - no encapsulation, no reviews (aka run from them, commit on master...). His opinion is that you don't need to encapsulate or make the code more readable, since he can read it just fine.
I am the Code reviewer on paper. And also the one who is activating and maintaining the live systems. The problem is he is bypasing all controls we put in place.
I already tried talking and yelling (when he yells at me because i suggest he reworks a 300 lines function) and teaching him. Any suggestions on how I can get him to change his coding practice? I am the Main reviewer on paper and quality controll. But he buypasses all of the agread controlls, because "he has no time for them" now... even tough none is rushing him.