4 ms·
This often leads to extremely annoying codebase because languages trying to enforce styleguides without proper options just leads to inconsistency once any code
by zauguin 3y ago
This often leads to extremely annoying codebase because languages trying to enforce styleguides without proper options just leads to inconsistency once any code in another language leads to the codebase.
Just have an options file which is checked in with the code and enforce whatever is set in there works much better. You still avoids all the useless discussions about formatting while also allowing to set sensible settings which are consistent with surrounding technology.
- jvanderbot 3y agoThis is really simple: * All our code must be linted / formatted * All their code must be ignored.
- mlinhares 3y agoNot sure I understand this. Do you mean tools like "go fmt" are going to try to format your Java code?