开发者

How are INI files used today? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but thi开发者_开发知识库s question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I really like the "INI" file format: Declarative KEY=VALUE, possibly embedded in named sections.

Further, I like the old "Make" style, where values set "higher" in the file may be interpolated into values "lower" in the file. (I know that's not specifically INI style, but Makefiles behaved largely like INI files for values, which I liked, to centralize maintenance of values.)

This is still a popular file format for configurations, right? If you were writing new tools today that relied upon configuration files, you'd use INI files, right? How are INI files being used these days?


If you were writing new tools today that relied upon configuration files, you'd use INI files, right?

No, I wouldn't. YAML (to choose one of many possible examples) is as concise as INI while giving your configs arbitrary depth (unlike INI, which gives you only two levels).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜