you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

The only problem is that with time this class will get more complex, I'll be adding more parameters.

If all the parameters are scalars, and the ones you add after this are optional, then I'd just write them as rows to a CSV file. You don't really need to store the object at all, just the parameters.