Timeline for What is the difference between simple factory and factory method?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2020 at 15:13 | comment | added | celsowm | so @ErikEidt, I have created a new code, is it a "truly" factory method? 3v4l.org/ZcOmX | |
Feb 4, 2020 at 23:40 | comment | added | Erik Eidt | @RobertHarvey, yes, if you will, it is upgraded from a simple static factory method, into an object to hold factory state, to differentiate from other factories, and to pass around to clients. | |
Feb 4, 2020 at 22:59 | comment | added | Robert Harvey | So your definition of a Factory Method is a "Simple Factory" with overloads? | |
Feb 4, 2020 at 17:30 | history | answered | Erik Eidt | CC BY-SA 4.0 |