Closed ghost closed 5 years ago
I prefer yaml over ini. Does anyone else have thoughts?
INI is more widely-supported, and is easier to write a parser for than yaml.
I don't know any language that doesn't have a yaml parser already built for it. Admittedly this does requiring using libraries for most of them, but that doesn't seem like a big deal.
YAML has two benefits over INI that I believe is worth it-
Many of the Screeps open source projects- especially the ones in the screepers org- are already using YAML. A lot of others are using JSON. Most YAML libraries are written to mirror JSON library APIs, making the switch easy. I don't know of any project for screeps that is using INI files (I may be missing some, but it's clearly not a huge group).
YAML (and JSON) both support complex object rather than just supporting scalars. This gives future compatibility for other configuration standards.
This PR defines a standard to be used to store credentials for 3rd party applications to authenticate to Screeps servers.