by BiteCode_dev · 3y ago · 0 comments
E.G: for python, the current go-to pypi module for this is platformdirs (https://pypi.org/project/platformdirs)
It's probably easier to promote the use of the module than explain the standard.
C and C++ still have strong roll-your-own culture, with the exception that C++ now has a decent filesystem module in the standard library but still no standard config file parser AFAIK, everyone usually imports nlohmann's JSON library.
That will respect platform conventions on Windows, macOS, and Linux/UNIX.