Yep. I introduced Rubocop at a past gig… only to watch my colleague write worse code playing whackamole trying to adhere to the rules.
I kept telling him that the whackamole is a sign to rework things at a higher level - that the Rubocop rule catches symptoms, and that he needed to address the cause, but…
PS - to be clear, I love Rubocop and swear by it. In that circumstance, I needed to introduce it differently, is all.
I kept telling him that the whackamole is a sign to rework things at a higher level - that the Rubocop rule catches symptoms, and that he needed to address the cause, but…
PS - to be clear, I love Rubocop and swear by it. In that circumstance, I needed to introduce it differently, is all.