News for hackers. Stuff that matters.
Re:Choosing Nim out of a crowded market for systems programm... by thunky on Friday November 25, 2022 @07:54PM (#33748709)
> 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.

Re:Choosing Nim out of a crowded market for systems programm... by pigsinzen on Friday November 25, 2022 @08:36PM (#33748963)
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.

Re:Choosing Nim out of a crowded market for systems programm... by __turbobrew__ on Friday November 25, 2022 @08:55PM (#33749057)
> 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.

Re:Choosing Nim out of a crowded market for systems programm... by danuker on Friday November 25, 2022 @09:27PM (#33749254)
Indeed. Something wihout security impact will use pointless resources when you update. Do it rarely (or never if possible).
Re:Choosing Nim out of a crowded market for systems programm... by booleandilemma on Friday November 25, 2022 @08:35PM (#33748959)
It's funny you say that, because Go and Python are two of my least favorite languages, partially for reasons of formatting.