How to use strategy pattern more effectively?

Published: 14/02/2020
How to use strategy pattern more effectively?
Source: SOFTWAREENGINEERING.STACKEXCHANGE.COM

The problem is the following: I have to download a set of JSON files and convert them to a certain format. There are 5 output formats (Let's call them A, B, C, D, E) and all of the downloaded json files are going to be in of of two formats (call them J1, and J2). So once I decide whether I am downloading J1 or J2 type of files, I should be able to convert them into one of the 5 formats. Basically

Read more
Related news
Comment
FACEBOOK