Hacker News new | past | comments | ask | show | jobs | submit login

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.




Not sure I understand this. Do you mean tools like "go fmt" are going to try to format your Java code?


This is really simple:

* All our code must be linted / formatted

* All their code must be ignored.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: