I'm new here. If this subject was discussed before please let me know. I didn't find it anywhere here.
Can anyone explain what is "Class Factory", when we use it, what advantages does it bring to us? An example (the concept not the code) would be very appreciated.