Hopefully More Controversial Programming Opinions

(prog21.dadgum.com)

2 points | by tosh 6 hours ago ago

1 comments

  • ivanjermakov 5 hours ago

    > 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.