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

> Programming languages should not be overly opinionated in formatting

I think gofmt, python black, etc have demonstrated that it's usually better to have a single standard then it is to fight endlessly about these details.



They have demonstrated that some people have interest in controlling formatting.

It would be a stretch to say they demonstrated that it’s better to enforce a standard.

Black, itself, changed rules many times within a 1-year period to the point our own CI would fail on existing code that previously passed.


> CI would fail on existing code that previously passed.

You problem isn’t that black changed formatting rules, your problem is that you didn’t pin CI dependencies. This isn’t a unique problem to black, any other tool used in CI pipelines can cause things to break if you don’t pin them.


Indeed. Something wihout security impact will use pointless resources when you update. Do it rarely (or never if possible).


It's funny you say that, because Go and Python are two of my least favorite languages, partially for reasons of formatting.




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

Search: