3 ms·
I've mentioned this before in a comment long ago that I thought there should be a library for configurations, like libconfig. This would expose an API that a pr
by seiferteric 3y ago
I've mentioned this before in a comment long ago that I thought there should be a library for configurations, like libconfig. This would expose an API that a program could get it's config from, then the user could decide in which format they would like to keep their configs, like ini, json, yaml etc and could translate between them. Then you could get like a unified config for your system.
- donatj 3y agoLossless translation between config types is troublesome and rarely possible cleanly. Varying capabilities of different config file types is part of the reason for the variety that exists.