Great Article! I have been working on implementing a Factory method for parsing files which all have different parse methods. Essentially we pass in an unparsed file type the factory looks at a specific part of the file (which tells it what kind of file it is dealing with) and then we return the proper parsed file result! This lines up with my understanding of it!
Great Article! I have been working on implementing a Factory method for parsing files which all have different parse methods. Essentially we pass in an unparsed file type the factory looks at a specific part of the file (which tells it what kind of file it is dealing with) and then we return the proper parsed file result! This lines up with my understanding of it!
Thank you for your insights. As you said we both share the same understanding of it 🤝