General information
Category:
Coding, syntax & commands
Title:
Experience used name/value pairs to hold calculations
Hi,
I'm creating classes to hold values/totals. First instinct was to add a property for each value, but further thought suggested that keeping totals in an array and access/updating them via methods and a key, probably alphanumeric, may make it easier to program in a more data driven manner.
Can people share experience along those lines, please?
TIA,
Alex
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only