4 ms·
> A program could even support multiple formats I invite you to check out Symfony where you configure your app using yaml, attributes in code, code itself, or
by withinboredom 3y ago
> A program could even support multiple formats
I invite you to check out Symfony where you configure your app using yaml, attributes in code, code itself, or a mix of all the above.
You will cry.
- deleted 3y ago[deleted]
- mindslight 3y agoPoint taken, but it would seem the problem there is probably due to the arbitrary placed mixins? My proposal was more for a single configuration object, just in whatever actual syntax you (or your team) prefers. If someome runs away with that and writes json that includes yaml that includes python that generates configuration from what it found on the filesystem, responsibility for that needless complexity rests squarely on the shoulders of the new programmer.