Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: