Shameless plug: I am the author.

  • hallettj
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    5 months ago

    Are there other relevant standards? The XDG base directory specification has been around for a long time, and is well established.

    Maybe your comment wooshed over my head; if so I apologize.

      • Deckweiss@lemmy.world
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        5 months ago

        Well, when software supports this standard, you as a user have a way to not confirm to it by setting the env variables to whatever you want, even per app. So you have two choises, either use it as is or change it.

        But if software doesn’t supportthe spec, there is no choise of using it. So ons choise less.

        • refalo@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          9
          ·
          edit-2
          5 months ago

          And if I don’t agree with how that standard is implemented? I should have the choice to use something else. Isn’t that how everything works?

          • MonkderDritte@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            You can of course not give users a choice. And a lot of applications do their own thing, having their own variables like GOPATH or a cli option like --config or some way to do that in a config file like Idea IDEs. But implementing XDG from start is miles simpler for all parties, it’s good practice to have your paths and variables somewhat organized in code anyway.

      • tabular@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        5 months ago

        To conform to a standard or do something else are each a choice. If you can justify your choice then perhaps it’s a good one.