On Tuesday, 16 August 2016 at 19:31:02 UTC, Engine Machine wrote:
This seems like a long winded way of just creating a struct in the first place, which might bet the simplest way anyways.
I literally said "Just create an ordinary struct..." That's how I'd do it, though there are other options too.
All this is just trying to be lazy. I could just edit a struct and add the variables as I create them.
Editing a struct is probably the least-work option.... it is hard to get simpler than just adding "bool newOption;" to the one place (the surrounding arg handling, file load/saving, etc., can all be automated from the struct content.)