There was recently this article about Linus Torvalds’ issues with rustfmt, which prompted others to voice their agreement with his sentiment online.

Yesterday someone pointed out how rustfmt is effectively unmaintained with basically no activity on the repository for months.

The contributors graph shows a similar story - there is essentially no development happening on rustfmt, it seems.

  • dinckelman@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Not necessarily applicable to just rustfmt, but software often suffers from the “last known commit xyz time ago” issue. If a project is functional and mostly complete, is it an issue?

    A lot of what Linus complained about is 100% valid though. I prefer the default formatting style for myself, but in a codebase this massive, merging things becomes a pain quite fast

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 month ago

      If a project is functional and mostly complete, is it an issue?

      I get the sentiment, but if you have 200+ open PRs by dozens of authors, the community obviously doesn’t agree that is compete.

    • spartanatreyu@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      If a project is functional and mostly complete, is it an issue?

      How can a language formatter be considered complete is the language it is targeting keeps getting updates?

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      A lot of what Linus complained about is 100% valid though

      Not necessarily. The program can be configured and they did not create a default configuration for all, to enforce a specific style. Linus can complain about the default settings, but that does not make sense if we look at all other tooling used in Linux. Are they using every application with default settings and then complain about it?

      No, there are settings adapted for the Kernel and their workflow. And they did not do that with rustfmt. While the critique about the issue itself is valid, its not valid to complain about it about the program. He should have complained about those responsible for the default configuration in Linux.

      • brian@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        I do think they should have taken an approach similar to prettier and gofmt. very minimal settings and opinionated so all js/go codebases are effectively the same formatting