I recently got my first “official” developer job working with Node.js and Vue.js (although we working with React until about a week ago). I learned over the past few years and employed what I knew at my last employer, so my experience has been working in isolation.
I never worked with other developers until the new job I started a month ago.
Is it unusual for experienced developers to not follow the DRY principle and the Single Responsibility Principle? I always thought that would be something long time developers would apply and it doesn’t seem to be the case.
I’m not talking about being a code nazi and expecting everything to be pristine and perfect, but seeing the same non-trivial code written multiple times in virtually the same file instead of just creating a function to me is pretty amateurish.