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

This is what we did with clang-format on our code base.

The result is occasionally ugly code and nobody is 100% happy but at least it's consistent.



Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.[1]

[1] https://go-proverbs.github.io/


While everyone has a favorite ES Lint ruleset but few agree on which to use.


*cough*clang-format off*cough*


Ha, yes. I started doing that but then lost the will to continue.




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

Search: