• corytheboyd
    link
    fedilink
    3810 months ago

    I wish every language had a gofmt, this is such a non-debate (tabs are indentation, spaces are alignment)

      • Tempy
        link
        fedilink
        510 months ago

        And over gofmt, rustfmt lets you set settings for the project. Keeps the code looking how I want, and contributers don’t have to care.

        • @devnev@programming.dev
          link
          fedilink
          110 months ago

          The absence of settings in gofmt is a feature. The kind of basic formatting it handles is not worth having opinions about.