Thanks a lot for taking the time to read my article! It’s much appreciated :)
Most factories I’ve encountered are implemented with switch or if-else.
I also mention the option of using reflection. That’s actually the common way I do it at client projects. But, as not every language has great reflection capabilities as C# does, I left it out.
The factory created here can be implemented in most OO languages I’d assume.