How would you know when to use factory functions?

2 posts were split to a new topic: How is the key & value decided for the properties