5 ms·
Whose job is it to enforce the coding standards? Let that person take it up with them. That is their job, after all. Personally, though, I would also be gent
by coreyp_1 11y ago
Whose job is it to enforce the coding standards? Let that person take it up with them. That is their job, after all.
Personally, though, I would also be gently saying things like, "Dude (or Dudette), you know that's not going to pass code review, right?" Maybe I should clarify: you DO have code review, right?
Without trying to be too elitist, I would say that a programmer who codes sloppily or cryptically does not have a good philosophy of coding, and that is dangerous in the long run. That is, they don't understand the purpose of programming languages and how they should be used. Higher order languages are an abstraction that is for the benefit of the programmer, not the computer. If you don't use the language correctly, then you look like a Neanderthal. It's like going to a Chinese restaurant and pulling out a bottle of ketchup. You clearly don't get it.
If a programmer refuses to write easy-to-read, contextual code, then they will not stay employed by me for long. To me, they are not just being "clever" or "economical", but rather are demonstrating an unrefined bruteness in a profession that requires sophistication and grace. Programming is art, and they are trying to paint with a shovel.