Closed fuyukaidesu closed 10 years ago
Comment by truNEET Thursday Jul 17, 2014 at 14:21 GMT
Yes, what do you guys think? JSON file? Simple key=value? Maybe a custom format with a few additional options?
Regardless of the implementation, I think we should have one class/utility that reads the command line arguments and parses the settings file that we can query anywhere in the application.
Comment by nyanpasu Thursday Jul 17, 2014 at 14:23 GMT
I like the idea of a simple parser that reads key = value.
Reasons I don't like:
javascript
Mostly because they require silly syntax rules.
Comment by truNEET Thursday Jul 17, 2014 at 14:27 GMT
Reasons I don't like XML
Yes, XML fucking sucks and we should avoid it at all costs for configuration files.
Comment by nyanpasu Thursday Jul 17, 2014 at 14:28 GMT
Some retards on IRC and /g/ actually suggested that. I cringe when it's on a configuration file that the developers expect you to actually maintain and edit. I would not want to inflict that sort of punishment towards anyone.
Issue by nyanpasu Thursday Jul 17, 2014 at 14:17 GMT Originally opened as https://github.com/gtorrent/gTorrent-legacy/issues/59