Closed andrayantelo closed 7 years ago
Should the attributes in the Product Collection class be arrays?
It depends on how you want to use them. If you need to look up values frequently and rarely find yourself iterating over it other than to check if something is present or not, then a list is not a good choice.
Should the attributes in the Product Collection class be arrays?