loading...

re: Example of the Strategy Pattern VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I believe what you are describing is the repository pattern. A data store abstraction. In my understanding, a strategy pattern is supposed to offe...
 

Great observation! In the context of this post, the strategy pattern could be used to import data from a csv file or xml file. The program would figure out which file type is being imported and apply the correct strategy. I will unpublish and make those adjustments. Thank you for the feedback!

code of conduct - report abuse