How can I convince someone to use best practices & industry standards?
It might be because it's a Friday as well, but I am at a bit of a loss at this moment. My coworker and I come from two very different technical backgrounds, which is causing delays and friction in Pull Requests.
I used to be mainly focused on Angular before I got this job and thus got used to Domain Driven Design, Feature-Sliced Design, etc. and overall a very structured way in scaling applications. To my knowledge, my coworker has only worked with Vue before, or at least never touched Angular.
On paper he has 10+ years more experience, but before we started working together he had never written a single unit tests and had never heard of Domain Driven Design before I introduced him to it. His Vue skills are also not what I expected at first; it was only after a long discussion on Single File Components that he started to use composables to do the heavy thinking instead of creating gigantic components, for example.
On Pull Requests, we keep running into the same arguments on clean code and architecture, where I try to send him resources on best practices and industry standards. It takes me an incredibly long time to convince him to use these, since he sees these as opinions rather than a more or less proven source of truth on how to scale applications.
On the other hand, I am genuinely trying to learn as well. Is my approach too rigid? When do best practices and industry standards fail to reach their desired effect? Am I too stuck in my Angular mindset compared to Vue? Feel free to ask me questions as well for clarification
---
TL;DR: Coworker and I disagree on when to implement best practices & industry standards. When are they justified?