3 ms·
> 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 si
by thunky 4y ago
> 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.
- booleandilemma 4y agoIt's funny you say that, because Go and Python are two of my least favorite languages, partially for reasons of formatting.
- pigsinzen 4y agoThey 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.
- __turbobrew__ 4y ago> 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.
- danuker 4y agoIndeed. Something wihout security impact will use pointless resources when you update. Do it rarely (or never if possible).