|
|
|
|
|
by bagasme
990 days ago
|
|
After I digged into related articles on the link, it seems like the holy grail
to the config files dilemma is to just hard-code desired settings in the
source code. However, it also means that users (especially using binary
packages) are stuck with settings from the distro. If you truly needs user-configurable setting, maybe TOML is for you. |
|
That is…not remotely the holy grail. You’re really throwing out the baby with the bathwater on that one. User-configurable settings are important for many, many applications.
In the narrow case that you’re working on, say, a monorepo for closed-source code that only runs on your own servers, maybe in source code is fine provided there’s no host-level differences that would require a config file.
But for any other circumstance…yeah you need some type of configurability.