I definitely do the best I can, but as someone sort of in this position I worry that I'm becoming a worse programmer for it.
I'm junior enough that I often don't know what to do. I've never gotten really good at full unit testing for example. I really do think in situations like this my best bet is trying to find somewhere where they follow better practices.