Idiom # 73: Create a factory
See programming-idioms.org:
Fuzion does not support reflection and it is not intended to ever support
reflection. So there is no way to dynamically create an instance of a feature
whose name is given as a string, but we can statically compare the string
against the name of known heirs in the factory.
Code
Running Example
last changed: 2024-07-01