On 2017-07-07 21:40, FoxyBrown wrote:
What's the "best" way to do this? I want something I can simply load at
startup in a convenient and easy way then save when necessary(possibly
be efficient at it, but probably doesn't matter).
Simply json an array and save and load it, or is there a better
I use protocol buffers (using dproto) for this, storing my settings in
either text or wire format. Advantages: type-safety with fwd/backward
compatibility (unlike json which requires dynamic field access, eg
with dproto you get errors at compile time instead of runtime),
supports comments (although
On Saturday, 8 July 2017 at 05:00:45 UTC, bauss wrote:
On Friday, 7 July 2017 at 22:52:22 UTC, FoxyBrown wrote:
On Friday, 7 July 2017 at 20:45:36 UTC, Moritz Maxeiner wrote:
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
[...]
"best" always depends on your specific use case. I use
On Friday, 7 July 2017 at 22:52:22 UTC, FoxyBrown wrote:
On Friday, 7 July 2017 at 20:45:36 UTC, Moritz Maxeiner wrote:
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can
simply load at startup in a convenient and easy way then save
On Friday, 7 July 2017 at 20:45:36 UTC, Moritz Maxeiner wrote:
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can
simply load at startup in a convenient and easy way then save
when necessary(possibly be efficient at it, but probably
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can simply
load at startup in a convenient and easy way then save when
necessary(possibly be efficient at it, but probably doesn't
matter).
Simply json an array and save and load it,
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can simply
load at startup in a convenient and easy way then save when
necessary(possibly be efficient at it, but probably doesn't
matter).
Simply json an array and save and load it,
On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can simply
load at startup in a convenient and easy way then save when
necessary(possibly be efficient at it, but probably doesn't
matter).
Simply json an array and save and load it,