Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Lossless 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: