Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Hopefully More Controversial Programming Opinions (dadgum.com)
2 points by tosh 1 day ago | hide | past | favorite | 1 comment
 help



> Superficially ugly code is irrelevant

Can't imagine how many thousands of man hours went wasted arguing over code style, enforcing it, and fixing unconventional formatting.

I'm a big fan of code formatters that leave you no wiggle room when it comes to stepping away from configured project-level style. It basically means no matter how file is formatted, formatting always produces the same result.

More teams should force pre-commit formatting, it's extremely easy to set up and its benefits are obvious.




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

Search: